Last change
on this file since 11134 was
11071,
checked in by landauf, 9 years ago
|
merged branch cpp11_v3 back to trunk
|
-
Property svn:eol-style set to
native
|
File size:
1.0 KB
|
Line | |
---|
1 | /* |
---|
2 | * GravityBombFire.h |
---|
3 | * |
---|
4 | * Created on: Apr 16, 2015 |
---|
5 | * Author: Manuel Eggimann |
---|
6 | */ |
---|
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 | /** |
---|
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 |
---|
29 | */ |
---|
30 | class _WeaponsExport GravityBombFire : public WeaponMode |
---|
31 | { |
---|
32 | public: |
---|
33 | GravityBombFire(Context* context); |
---|
34 | virtual ~GravityBombFire(); |
---|
35 | |
---|
36 | virtual void fire() override; |
---|
37 | |
---|
38 | private: |
---|
39 | static const float BOMB_VELOCITY; //!< The initial speed of the bomb when it is launched. |
---|
40 | }; |
---|
41 | } |
---|
42 | |
---|
43 | #endif /* _GravityBombFire_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.