Rev | Line | |
---|
[10455] | 1 | /* |
---|
| 2 | * GravityBombFire.h |
---|
| 3 | * |
---|
| 4 | * Created on: Apr 16, 2015 |
---|
| 5 | * Author: Manuel Eggimann |
---|
| 6 | */ |
---|
[10326] | 7 | |
---|
| 8 | /** |
---|
| 9 | @file GravityBombFire.h |
---|
| 10 | @brief Definition of the GravityBombFire class. |
---|
| 11 | */ |
---|
| 12 | |
---|
| 13 | #ifndef _GravityBombFire_H__ |
---|
| 14 | #define _GravityBombFire_H__ |
---|
| 15 | |
---|
| 16 | #include "weapons/WeaponsPrereqs.h" |
---|
| 17 | #include "weaponsystem/WeaponMode.h" |
---|
| 18 | |
---|
| 19 | namespace orxonox |
---|
| 20 | { |
---|
| 21 | |
---|
| 22 | /** |
---|
[10455] | 23 | *@brief |
---|
| 24 | * Fires the GravityBomb. This class implements everything needed to fire the BasicProjectile GravityBomb. |
---|
| 25 | * Everything that has to do with the bombs behaviour after launching it is implemented in GravityBomb and GravityBombField. |
---|
| 26 | *@author |
---|
| 27 | * Manuel Eggimann |
---|
| 28 | *@ingroup WeaponsWeaponModes |
---|
[10326] | 29 | */ |
---|
| 30 | class _WeaponsExport GravityBombFire : public WeaponMode |
---|
| 31 | { |
---|
| 32 | public: |
---|
| 33 | GravityBombFire(Context* context); |
---|
| 34 | virtual ~GravityBombFire(); |
---|
| 35 | |
---|
| 36 | virtual void fire(); |
---|
| 37 | |
---|
| 38 | private: |
---|
[10455] | 39 | static const float BOMB_VELOCITY; //!< The initial speed of the bomb when it is launched. |
---|
[10326] | 40 | }; |
---|
| 41 | } |
---|
| 42 | |
---|
| 43 | #endif /* _GravityBombFire_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.