Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core7/src/modules/towerdefense/TDCoordinate.h @ 10583

Last change on this file since 10583 was 10583, checked in by landauf, 9 years ago

TDCoordinate doesn't call RegisterObject, thus shouldn't inherit from OrxonoxClass

  • Property svn:eol-style set to native
File size: 678 bytes
Line 
1#ifndef _TDCoordinate_H__
2#define _TDCoordinate_H__
3
4#include "TDCoordinate.h"
5//#include "towerdefense/TowerDefense.h"
6#include "gametypes/Deathmatch.h"
7#include "towerdefense/TowerDefensePrereqs.h"
8#include "worldentities/pawns/SpaceShip.h"
9namespace orxonox
10{
11
12//Class to save the Coordinates in a class instead of struct
13//Convert 2d coordinates to 3d in order to set waypoints
14    class _TowerDefenseExport TDCoordinate
15    {
16        public:
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#endif /* _TDCoordinate_H__ */
Note: See TracBrowser for help on using the repository browser.