Last change
on this file since 1032 was
1024,
checked in by rgrieder, 17 years ago
|
merged input back into trunk
note: I have created an asylum with obsolete code, please check the files
|
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 | |
---|
10 | namespace 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.