summaryrefslogtreecommitdiffstats
path: root/source/Concept/Framework/modules/interpreter/position_tracker.h
diff options
context:
space:
mode:
authorsicarius <devnull@localhost>2007-02-18 01:14:00 +0100
committersicarius <devnull@localhost>2007-02-18 01:14:00 +0100
commit3c3c628b617dc53f0b7b59285c7d67888074c33d (patch)
tree1d1848b37d14036542e7b704440f4eb4f4d8ef7b /source/Concept/Framework/modules/interpreter/position_tracker.h
parent803027cbb45ebe01e4f8b427a7cc95728d6e5f47 (diff)
downloadrc2007-soccer-3c3c628b617dc53f0b7b59285c7d67888074c33d.tar
rc2007-soccer-3c3c628b617dc53f0b7b59285c7d67888074c33d.zip
+++ Additional Codework
Diffstat (limited to 'source/Concept/Framework/modules/interpreter/position_tracker.h')
-rwxr-xr-xsource/Concept/Framework/modules/interpreter/position_tracker.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/source/Concept/Framework/modules/interpreter/position_tracker.h b/source/Concept/Framework/modules/interpreter/position_tracker.h
new file mode 100755
index 0000000..b31dd8f
--- /dev/null
+++ b/source/Concept/Framework/modules/interpreter/position_tracker.h
@@ -0,0 +1,45 @@
+#ifndef _POSITION_TRACKER_H
+#define _POSITION_TRACKER_H
+
+#include "../../stdafx.h"
+
+class Position_Tracker : public IO_Module
+{
+public:
+ Position_Tracker()
+ {
+ this->parent = NULL;
+ this->moduleId = 0;
+ }
+
+ Position_Tracker(uint32 trackerId)
+ {
+ this->parent = NULL;
+ this->moduleId = trackerId;
+ }
+
+protected:
+ float positionX;
+ float positionY;
+ float orientation;
+
+public:
+ void Update();
+
+ float GetPositionX()
+ {
+ return positionX;
+ }
+
+ float GetPositionY()
+ {
+ return positionY;
+ }
+
+ float GetOrientation()
+ {
+ return orientation;
+ }
+};
+
+#endif