Last change
on this file since 11997 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:
1.3 KB
|
Rev | Line | |
---|
[10142] | 1 | // |
---|
| 2 | // TowerDefenseTower.h |
---|
| 3 | // Orxonox |
---|
| 4 | // |
---|
| 5 | // Created by Fabian Mentzer on 29.04.12. |
---|
| 6 | // Copyright (c) 2012 __MyCompanyName__. All rights reserved. |
---|
| 7 | // |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | #ifndef Orxonox_TowerDefenseTower_h |
---|
| 11 | #define Orxonox_TowerDefenseTower_h |
---|
| 12 | |
---|
| 13 | #include "towerdefense/TowerDefensePrereqs.h" |
---|
[10622] | 14 | #include "objects/Turret.h" |
---|
[10142] | 15 | |
---|
| 16 | |
---|
| 17 | namespace orxonox |
---|
| 18 | { |
---|
[11099] | 19 | /** |
---|
| 20 | @brief |
---|
| 21 | See TowerDefenseTowerDefenseReadme.txt for Information. |
---|
| 22 | |
---|
| 23 | @ingroup TowerDefenseTowerDefense |
---|
| 24 | */ |
---|
[10622] | 25 | class _TowerDefenseExport TowerDefenseTower : public Turret |
---|
[10142] | 26 | { |
---|
| 27 | public: |
---|
| 28 | TowerDefenseTower(Context* context); |
---|
| 29 | virtual ~TowerDefenseTower() {}; |
---|
| 30 | |
---|
| 31 | // Maybe later override these to move TowerDefenseTowers with cursor keys |
---|
| 32 | /* |
---|
| 33 | virtual void moveFrontBack(const Vector2& value); |
---|
| 34 | virtual void moveRightLeft(const Vector2& value); |
---|
| 35 | */ |
---|
| 36 | |
---|
| 37 | // Overriding these to stop TowerDefenseTowers from spasing out |
---|
[10629] | 38 | //void setOrientation(const Quaternion& orientation); |
---|
| 39 | //virtual void rotateYaw(const Vector2& value); |
---|
| 40 | //virtual void rotatePitch(const Vector2& value); |
---|
| 41 | //virtual void rotateRoll(const Vector2& value); |
---|
[10158] | 42 | virtual bool upgradeTower(); |
---|
[10142] | 43 | |
---|
[10158] | 44 | |
---|
[10142] | 45 | void setGame(TowerDefense* Towerdefense) |
---|
| 46 | { assert(Towerdefense); game_ = Towerdefense; } |
---|
| 47 | private: |
---|
| 48 | TowerDefense* game_; |
---|
[10629] | 49 | int upgrade; |
---|
[10142] | 50 | }; |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.