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