Last change
on this file since 10624 was
10624,
checked in by landauf, 9 years ago
|
merged branch core7 back to trunk
|
-
Property svn:eol-style set to
native
|
File size:
811 bytes
|
Rev | Line | |
---|
[10105] | 1 | #ifndef _TDCoordinate_H__ |
---|
| 2 | #define _TDCoordinate_H__ |
---|
| 3 | |
---|
| 4 | #include "TDCoordinate.h" |
---|
[10106] | 5 | //#include "towerdefense/TowerDefense.h" |
---|
[10105] | 6 | #include "gametypes/Deathmatch.h" |
---|
| 7 | #include "towerdefense/TowerDefensePrereqs.h" |
---|
| 8 | #include "worldentities/pawns/SpaceShip.h" |
---|
[10246] | 9 | namespace orxonox |
---|
| 10 | { |
---|
[10105] | 11 | |
---|
| 12 | //Class to save the Coordinates in a class instead of struct |
---|
| 13 | //Convert 2d coordinates to 3d in order to set waypoints |
---|
[10624] | 14 | class _TowerDefenseExport TDCoordinate |
---|
[10246] | 15 | { |
---|
| 16 | public: |
---|
[10105] | 17 | TDCoordinate(); |
---|
[10622] | 18 | TDCoordinate(int x, int y); |
---|
[10105] | 19 | virtual ~TDCoordinate() {}; |
---|
[10622] | 20 | virtual void Set(int x, int y); |
---|
| 21 | virtual int GetX(); |
---|
| 22 | virtual int GetY(); |
---|
| 23 | virtual Vector3 get3dcoordinate(); |
---|
[10105] | 24 | |
---|
[10622] | 25 | private: |
---|
| 26 | int _x; |
---|
| 27 | int _y; |
---|
[10246] | 28 | }; |
---|
[10105] | 29 | |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | #endif /* _TDCoordinate_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.