Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Merge_HS18/src/modules/TixyTaxyTorxy/TixyTaxyTorxyCoordinate.h @ 12182

Last change on this file since 12182 was 12149, checked in by thomkell, 6 years ago

final

File size: 949 bytes
Line 
1#ifndef _TixyTaxyTorxyCoordinate_H__
2#define _TixyTaxyTorxyCoordinate_H__
3
4#include "core/CoreIncludes.h"
5#include "TixyTaxyTorxyCoordinate.h"
6#include "gametypes/Deathmatch.h"
7#include "TixyTaxyTorxy/TixyTaxyTorxyPrereqs.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 _TixyTaxyTorxyExport TixyTaxyTorxyCoordinate
15    {
16        public:
17            TixyTaxyTorxyCoordinate();
18            TixyTaxyTorxyCoordinate(int x, int y);
19            virtual ~TixyTaxyTorxyCoordinate() {};
20            virtual void Set(int x, int y);
21            virtual int GetX();
22            virtual int GetY();
23            virtual int Getmini();
24            virtual Vector3 get3dcoordinate();
25
26        private:
27            int _x;
28            int _y;
29            int _mini;
30    };
31
32}
33
34#endif /* _TixyTaxyTorxyCoordinate_H__ */
Note: See TracBrowser for help on using the repository browser.