Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/hud2/src/orxonox/objects/Projectile.h @ 1180

Last change on this file since 1180 was 969, checked in by rgrieder, 17 years ago
  • removed some unnecessary forward declarations
  • renamed destroy() —> destroySingleton()
File size: 716 bytes
Line 
1#ifndef _Projectile_H__
2#define _Projectile_H__
3
4#include "../OrxonoxPrereqs.h"
5
6#include "WorldEntity.h"
7#include "../tools/BillboardSet.h"
8#include "../tools/Timer.h"
9
10namespace orxonox
11{
12    class _OrxonoxExport Projectile : public WorldEntity
13    {
14        public:
15            Projectile(SpaceShip* owner = 0);
16            virtual ~Projectile();
17            void setConfigValues();
18            void destroyObject();
19            virtual void tick(float dt);
20
21        private:
22            SpaceShip* owner_;
23            BillboardSet billboard_;
24            float speed_;
25            float lifetime_;
26            Timer<Projectile> destroyTimer_;
27    };
28}
29
30#endif /* _Projectile_H__ */
Note: See TracBrowser for help on using the repository browser.