Last change
on this file since 4647 was
3710,
checked in by patrick, 20 years ago
|
orxonox/trunk: added the TestBullet to framework, made some doxygen, works
|
File size:
492 bytes
|
Line | |
---|
1 | /*! |
---|
2 | \projectile.h |
---|
3 | \brief a projectile, that is been shooted by a weapon |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _TEST_BULLET_H |
---|
7 | #define _TEST_BULLET_H |
---|
8 | |
---|
9 | #include "projectile.h" |
---|
10 | |
---|
11 | class Vector; |
---|
12 | class Weapon; |
---|
13 | |
---|
14 | class TestBullet : public Projectile |
---|
15 | { |
---|
16 | friend class World; |
---|
17 | |
---|
18 | public: |
---|
19 | TestBullet (Weapon* weapon); |
---|
20 | virtual ~TestBullet (); |
---|
21 | |
---|
22 | virtual void hit (WorldEntity* weapon, Vector* loc); |
---|
23 | virtual void destroy (); |
---|
24 | |
---|
25 | virtual void tick (float time); |
---|
26 | virtual void draw (); |
---|
27 | |
---|
28 | }; |
---|
29 | |
---|
30 | #endif /* _TEST_BULLET_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.