summaryrefslogtreecommitdiff
path: root/inc/Location.hpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-11-23 17:05:27 -0600
committertom <tom@ground-control>2015-11-23 17:05:27 -0600
commit9d9c1d29dbcd802c89641b70b5574361e775c0e4 (patch)
treebd66508d2db620db21db51c15276055d492297ea /inc/Location.hpp
parent8228cd7ef6156d87ccf33335466c86fa30dadd8b (diff)
added collision of trees and map border
Diffstat (limited to 'inc/Location.hpp')
-rw-r--r--inc/Location.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/Location.hpp b/inc/Location.hpp
index 5c6f1ea..ed0e2db 100644
--- a/inc/Location.hpp
+++ b/inc/Location.hpp
@@ -5,6 +5,7 @@ class Location
{
public:
Location(){x=0;y=0;}
+ Location(int xn, int yn){x=xn;y=yn;}
int x;
int y;
};