Last change
on this file since 3878 was
3710,
checked in by patrick, 19 years ago
|
orxonox/trunk: added the TestBullet to framework, made some doxygen, works
|
File size:
492 bytes
|
Rev | Line | |
---|
[3708] | 1 | /*! |
---|
| 2 | \projectile.h |
---|
| 3 | \brief a projectile, that is been shooted by a weapon |
---|
| 4 | */ |
---|
| 5 | |
---|
[3709] | 6 | #ifndef _TEST_BULLET_H |
---|
| 7 | #define _TEST_BULLET_H |
---|
[3708] | 8 | |
---|
[3710] | 9 | #include "projectile.h" |
---|
[3708] | 10 | |
---|
| 11 | class Vector; |
---|
| 12 | class Weapon; |
---|
| 13 | |
---|
[3709] | 14 | class TestBullet : public Projectile |
---|
[3708] | 15 | { |
---|
| 16 | friend class World; |
---|
| 17 | |
---|
| 18 | public: |
---|
[3709] | 19 | TestBullet (Weapon* weapon); |
---|
| 20 | virtual ~TestBullet (); |
---|
[3708] | 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 | |
---|
[3709] | 30 | #endif /* _TEST_BULLET_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.