Rev | Line | |
---|
[10105] | 1 | // |
---|
| 2 | // Enemy.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 "towerdefense/TowerDefense.h" |
---|
| 21 | #include "gametypes/Deathmatch.h" |
---|
| 22 | #include "towerdefense/TowerDefensePrereqs.h" |
---|
| 23 | #include "worldentities/pawns/SpaceShip.h" |
---|
| 24 | |
---|
| 25 | namespace orxonox |
---|
| 26 | { |
---|
| 27 | /* Class to give the enemy spaceships waypoints and |
---|
| 28 | * |
---|
| 29 | */ |
---|
| 30 | class _TowerDefenseExport Enemy : public Pawn |
---|
| 31 | { |
---|
| 32 | |
---|
| 33 | public: |
---|
| 34 | |
---|
| 35 | Enemy(Context* context); |
---|
| 36 | virtual ~Enemy() {}; |
---|
| 37 | |
---|
| 38 | //health gibt es unter: health_ |
---|
| 39 | |
---|
| 40 | void addWaypoint(TDCoordinate coord); |
---|
| 41 | void popWaypoint(); |
---|
| 42 | TDCoordinate peekWaypoint(); |
---|
| 43 | private: |
---|
| 44 | |
---|
| 45 | std::vector<TDCoordinate> Waypointsvector_; |
---|
| 46 | |
---|
| 47 | }; |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | #endif /* _TowerDefense_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.