Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentationHS14/src/modules/towerdefense/TDCoordinate.h @ 10181

Last change on this file since 10181 was 10181, checked in by maxima, 10 years ago

towerdefenseHS14 merged.

File size: 710 bytes
Line 
1#ifndef _TDCoordinate_H__
2#define _TDCoordinate_H__
3
4#include "core/CoreIncludes.h"
5#include "TDCoordinate.h"
6//#include "towerdefense/TowerDefense.h"
7#include "gametypes/Deathmatch.h"
8#include "towerdefense/TowerDefensePrereqs.h"
9#include "worldentities/pawns/SpaceShip.h"
10namespace orxonox{
11
12
13//Class to save the Coordinates in a class instead of struct
14//Convert 2d coordinates to 3d in order to set waypoints
15class _TowerDefenseExport TDCoordinate: public OrxonoxClass {
16public:
17                        int x;
18            int y;
19
20            TDCoordinate();
21
22            Vector3 get3dcoordinate();
23
24            virtual ~TDCoordinate() {};
25
26            TDCoordinate(int x, int y);
27        };
28
29
30}
31
32#endif /* _TDCoordinate_H__ */
Note: See TracBrowser for help on using the repository browser.