Last change
on this file since 10486 was
10452,
checked in by maxima, 9 years ago
|
Towerdefense merged to Presentation
|
-
Property svn:eol-style set to
native
|
File size:
1.4 KB
|
Line | |
---|
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 | @brief |
---|
11 | See TowerDefenseTowerDefenseReadme.txt for Information. |
---|
12 | |
---|
13 | @ingroup TowerDefenseTowerDefense |
---|
14 | */ |
---|
15 | |
---|
16 | |
---|
17 | #ifndef Orxonox_TowerDefenseTower_h |
---|
18 | #define Orxonox_TowerDefenseTower_h |
---|
19 | |
---|
20 | #include "towerdefense/TowerDefensePrereqs.h" |
---|
21 | #include "worldentities/pawns/SpaceShip.h" |
---|
22 | #include "objects/Turret.h" |
---|
23 | |
---|
24 | |
---|
25 | namespace orxonox |
---|
26 | { |
---|
27 | class _TowerDefenseExport TowerDefenseTower : public Turret |
---|
28 | { |
---|
29 | public: |
---|
30 | TowerDefenseTower(Context* context); |
---|
31 | virtual ~TowerDefenseTower() {}; |
---|
32 | |
---|
33 | // Maybe later override these to move TowerDefenseTowers with cursor keys |
---|
34 | /* |
---|
35 | virtual void moveFrontBack(const Vector2& value); |
---|
36 | virtual void moveRightLeft(const Vector2& value); |
---|
37 | */ |
---|
38 | |
---|
39 | // Overriding these to stop TowerDefenseTowers from spasing out |
---|
40 | /* |
---|
41 | void setOrientation(const Quaternion& orientation); |
---|
42 | virtual void rotateYaw(const Vector2& value); |
---|
43 | virtual void rotatePitch(const Vector2& value); |
---|
44 | virtual void rotateRoll(const Vector2& value); |
---|
45 | */ |
---|
46 | virtual bool upgradeTower(); |
---|
47 | |
---|
48 | |
---|
49 | void setGame(TowerDefense* Towerdefense) |
---|
50 | { assert(Towerdefense); game_ = Towerdefense; } |
---|
51 | int upgrade; |
---|
52 | int upgradeMax; |
---|
53 | private: |
---|
54 | TowerDefense* game_; |
---|
55 | |
---|
56 | }; |
---|
57 | } |
---|
58 | |
---|
59 | |
---|
60 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.