summaryrefslogtreecommitdiff
path: root/inc/location.hpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-05-08 17:41:48 -0500
committertom <tom@ground-control>2015-05-08 17:41:48 -0500
commitce6b35d717de85a7ac45fa98197edf13e1820c8a (patch)
treedaca5dfebdb2c3de0ec851caf13c833cdee43c64 /inc/location.hpp
parent95fb44dd7009ddbb157fa4c54ddbab88a0af0c0b (diff)
added removal of resources once eaten, from the L and R vector
creatures that done move don't die right now, we need them to wander if they dont have a priority **difficult**
Diffstat (limited to 'inc/location.hpp')
-rw-r--r--inc/location.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/location.hpp b/inc/location.hpp
index 71bf938..e45642d 100644
--- a/inc/location.hpp
+++ b/inc/location.hpp
@@ -7,7 +7,7 @@ class Location
Location(){x=y=type=0;}; //is this line needed?
Location(int x1, int y1, int t1){x=x1;y=y1;type=t1;};
- int x; //x-coordinate of entity
+ int x; //x-coordinate of entity
int y; //y-coordinate of entity
int type; //value associated with type of entity at location. 1: Creature, 2: Resource
};