summaryrefslogtreecommitdiff
path: root/inc/location.hpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-05-07 12:35:15 -0500
committertom <tom@ground-control>2015-05-07 12:35:15 -0500
commitffcee12acf3fe3f972f322c18b3203212682205d (patch)
treeac300fa0808b8f6218669e3f14b1d0b784bc7055 /inc/location.hpp
parente91f0c208605f27d2ba9e2a9c584c92212ab0088 (diff)
woo! detection is implemented albeit shitty
Diffstat (limited to 'inc/location.hpp')
-rw-r--r--inc/location.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/inc/location.hpp b/inc/location.hpp
index 2042734..6a20b4e 100644
--- a/inc/location.hpp
+++ b/inc/location.hpp
@@ -5,11 +5,9 @@ class Location
{
public:
Location(){x=y=t=0;};
- Location(int x, int y, int z){};
- int getType(){return t;};
-
- private:
- int x;
+ Location(int x1, int y1, int t1){x=x1;y=y1;t=t1;};
+
+ int x;
int y;
int t;
};