Last change
on this file since 12142 was
11099,
checked in by muemart, 9 years ago
|
Fix loads of doxygen warnings and other documentation issues
|
-
Property svn:eol-style set to
native
|
File size:
985 bytes
|
Line | |
---|
1 | // |
---|
2 | // TowerDefenseEnemy.h |
---|
3 | // Orxonox |
---|
4 | // |
---|
5 | // Created by Jonas Erb on 22.10.14. |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | |
---|
10 | |
---|
11 | #ifndef Orxonox_Tower_h |
---|
12 | #define Orxonox_Tower_h |
---|
13 | |
---|
14 | #include "TDCoordinate.h" |
---|
15 | #include "gametypes/Deathmatch.h" |
---|
16 | #include "towerdefense/TowerDefensePrereqs.h" |
---|
17 | #include "worldentities/pawns/SpaceShip.h" |
---|
18 | #include "util/Output.h" |
---|
19 | #include "TowerDefense.h" |
---|
20 | |
---|
21 | namespace orxonox |
---|
22 | { |
---|
23 | /** |
---|
24 | @brief |
---|
25 | See TowerDefenseReadme.txt for Information. |
---|
26 | |
---|
27 | @ingroup TowerDefense |
---|
28 | */ |
---|
29 | class _TowerDefenseExport TowerDefenseEnemy : public SpaceShip |
---|
30 | { |
---|
31 | public: |
---|
32 | TowerDefenseEnemy(Context* context); |
---|
33 | virtual ~TowerDefenseEnemy(); |
---|
34 | |
---|
35 | //health gibt es unter: health_ |
---|
36 | |
---|
37 | virtual void damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs) override; |
---|
38 | |
---|
39 | private: |
---|
40 | WeakPtr<TowerDefense> getGame(); |
---|
41 | WeakPtr<TowerDefense> game; |
---|
42 | TowerDefense* td; |
---|
43 | bool once_; |
---|
44 | }; |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | } |
---|
49 | |
---|
50 | #endif /* _TowerDefense_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.