Orxonox  0.0.5 Codename: Arcturus
TDCoordinate.h
Go to the documentation of this file.
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"
10 namespace 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
16  {
17  public:
18  TDCoordinate();
19  TDCoordinate(int x, int y);
20  virtual ~TDCoordinate() {};
21  virtual void Set(int x, int y);
22  virtual int GetX();
23  virtual int GetY();
24  virtual Vector3 get3dcoordinate();
25 
26  private:
27  int _x;
28  int _y;
29  };
30 
31 }
32 
33 #endif /* _TDCoordinate_H__ */
Shared library macros, enums, constants and forward declarations for the TowerDefense module ...
Definition: TDCoordinate.h:15
int _y
Definition: TDCoordinate.h:28
int _x
Definition: TDCoordinate.h:27
virtual ~TDCoordinate()
Definition: TDCoordinate.h:20
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Defines several very important macros used to register objects, register classes, and to work with id...
#define _TowerDefenseExport
Definition: TowerDefensePrereqs.h:58