From c63d77ddddb69ef0f641d90a8c3922fdc356224c Mon Sep 17 00:00:00 2001 From: dakjos Date: Thu, 7 May 2015 19:53:39 -0500 Subject: Some variable names changed and many comments made so I understand what the fuck is going on --- inc/location.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'inc/location.hpp') diff --git a/inc/location.hpp b/inc/location.hpp index 6a20b4e..8bd512c 100644 --- a/inc/location.hpp +++ b/inc/location.hpp @@ -4,12 +4,12 @@ class Location { public: - Location(){x=y=t=0;}; - Location(int x1, int y1, int t1){x=x1;y=y1;t=t1;}; + Location(){x=y=type=0;}; //is this line needed? + Location(int x1, int y1, int t1){x=x1;y=y1;type=t1;}; - int x; - int y; - int t; + 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 }; #endif -- cgit v1.2.3