Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/orxonox/objects/Projectile.h @ 703

Last change on this file since 703 was 697, checked in by landauf, 17 years ago

put all SetConfigValue macro calls into the setConfigValues function (this is needed to allow changes of the config values at runtime)

File size: 673 bytes
Line 
1#ifndef _Projectile_H__
2#define _Projectile_H__
3
4#include "WorldEntity.h"
5#include "BillboardSet.h"
6#include "SpaceShip.h"
7#include "Timer.h"
8
9namespace orxonox
10{
11    class Projectile : public WorldEntity
12    {
13        public:
14            Projectile(SpaceShip* owner = 0);
15            virtual ~Projectile();
16            void setConfigValues();
17            void destroyObject();
18            virtual void tick(float dt);
19
20        private:
21            SpaceShip* owner_;
22            BillboardSet billboard_;
23            float speed_;
24            float lifetime_;
25            Timer<Projectile> destroyTimer_;
26    };
27}
28
29#endif /* _Projectile_H__ */
Note: See TracBrowser for help on using the repository browser.