Last change
on this file since 9220 was
9175,
checked in by weigeltm, 13 years ago
|
removed attach-command, got rid of error messages, attached weapons to towers
|
File size:
758 bytes
|
Rev | Line | |
---|
[9135] | 1 | // |
---|
| 2 | // Tower.h |
---|
| 3 | // Orxonox |
---|
| 4 | // |
---|
| 5 | // Created by Fabian Mentzer on 29.04.12. |
---|
| 6 | // Copyright (c) 2012 __MyCompanyName__. All rights reserved. |
---|
| 7 | // |
---|
| 8 | |
---|
[9141] | 9 | /** |
---|
| 10 | @brief |
---|
| 11 | See TowerDefenseReadme.txt for Information. |
---|
| 12 | |
---|
| 13 | @ingroup TowerDefense |
---|
| 14 | */ |
---|
| 15 | |
---|
| 16 | |
---|
[9135] | 17 | #ifndef Orxonox_Tower_h |
---|
| 18 | #define Orxonox_Tower_h |
---|
| 19 | |
---|
| 20 | #include "towerdefense/TowerDefensePrereqs.h" |
---|
[9175] | 21 | #include "worldentities/pawns/SpaceShip.h" |
---|
[9135] | 22 | |
---|
| 23 | namespace orxonox |
---|
| 24 | { |
---|
[9175] | 25 | class _OrxonoxExport Tower : public SpaceShip |
---|
[9135] | 26 | { |
---|
| 27 | public: |
---|
| 28 | Tower(BaseObject* creator); |
---|
| 29 | virtual ~Tower() {}; |
---|
| 30 | |
---|
[9141] | 31 | virtual void moveFrontBack(const Vector2& value); |
---|
| 32 | virtual void moveRightLeft(const Vector2& value); |
---|
[9135] | 33 | |
---|
[9137] | 34 | void setGame(TowerDefense* towerdefense) |
---|
| 35 | { assert(towerdefense); game_ = towerdefense; } |
---|
| 36 | private: |
---|
| 37 | TowerDefense* game_; |
---|
[9135] | 38 | }; |
---|
| 39 | } |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.