From ce6b35d717de85a7ac45fa98197edf13e1820c8a Mon Sep 17 00:00:00 2001 From: tom Date: Fri, 8 May 2015 17:41:48 -0500 Subject: 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** --- inc/location.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/location.hpp') 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 }; -- cgit v1.2.3