Line | |
---|
1 | // |
---|
2 | // TowerDefenseEnemy.h |
---|
3 | // Orxonox |
---|
4 | // |
---|
5 | // Created by Jonas Erb on 22.10.14. |
---|
6 | |
---|
7 | /** |
---|
8 | @brief |
---|
9 | See TowerDefenseReadme.txt for Information. |
---|
10 | |
---|
11 | @ingroup TowerDefense |
---|
12 | */ |
---|
13 | |
---|
14 | |
---|
15 | |
---|
16 | #ifndef Orxonox_Tower_h |
---|
17 | #define Orxonox_Tower_h |
---|
18 | |
---|
19 | #include "TDCoordinate.h" |
---|
20 | #include "gametypes/Deathmatch.h" |
---|
21 | #include "towerdefense/TowerDefensePrereqs.h" |
---|
22 | #include "worldentities/pawns/SpaceShip.h" |
---|
23 | #include "util/Output.h" |
---|
24 | #include "controllers/ArtificialController.h" |
---|
25 | |
---|
26 | namespace orxonox |
---|
27 | { |
---|
28 | /* Class to give the TowerDefenseEnemy spaceships waypoints and |
---|
29 | * |
---|
30 | */ |
---|
31 | class _TowerDefenseExport TowerDefenseEnemy : public SpaceShip |
---|
32 | { |
---|
33 | |
---|
34 | public: |
---|
35 | |
---|
36 | TowerDefenseEnemy(Context* context); |
---|
37 | virtual ~TowerDefenseEnemy() {}; |
---|
38 | |
---|
39 | //health gibt es unter: health_ |
---|
40 | |
---|
41 | virtual void tick(float dt); |
---|
42 | void addWaypoint(TDCoordinate* coord); |
---|
43 | void popWaypoint(); |
---|
44 | TDCoordinate peekWaypoint(); |
---|
45 | |
---|
46 | |
---|
47 | private: |
---|
48 | |
---|
49 | std::vector<TDCoordinate*> Waypointsvector_; |
---|
50 | |
---|
51 | }; |
---|
52 | |
---|
53 | |
---|
54 | |
---|
55 | } |
---|
56 | |
---|
57 | #endif /* _TowerDefense_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.