diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/location.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/location.hpp b/inc/location.hpp index 8bd512c..71bf938 100644 --- a/inc/location.hpp +++ b/inc/location.hpp @@ -5,11 +5,11 @@ class Location { public: Location(){x=y=type=0;}; //is this line needed? - Location(int x1, int y1, int t1){x=x1;y=y1;type=t1;}; + Location(int x1, int y1, int t1){x=x1;y=y1;type=t1;}; 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 + int y; //y-coordinate of entity + int type; //value associated with type of entity at location. 1: Creature, 2: Resource }; #endif |