summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-05-08 08:23:06 -0500
committertom <tom@ground-control>2015-05-08 08:23:06 -0500
commit8c5121486a0e5d94ae5e5ee67370a31530cf8b6f (patch)
treef1e82b3dbd17485613e1100290f263426751db03 /inc
parent04069434be15c06666a7493b1b6329a78c00d1d1 (diff)
fixed some comments and cleaned around
Diffstat (limited to 'inc')
-rw-r--r--inc/creature.hpp2
-rw-r--r--inc/list.hpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/inc/creature.hpp b/inc/creature.hpp
index 9a26ee8..9bb73ee 100644
--- a/inc/creature.hpp
+++ b/inc/creature.hpp
@@ -19,7 +19,7 @@ class Creature: public Entity
int yTarget; //y-coordinate of creature's target position
int health; //health of a creature (0-100)
int hunger; //value associated with a creatures want to find food (0-100)
- std::vector<Location> location; //vector containing creatures location on window or target location?
+ std::vector<Location> location; //vector containing objects near the creature
};
#endif
diff --git a/inc/list.hpp b/inc/list.hpp
index 074e045..dc5c412 100644
--- a/inc/list.hpp
+++ b/inc/list.hpp
@@ -16,6 +16,7 @@ class List
private:
//vectors containing objects of each type
+ Window * main;//will be needed for adding R's and C's after constructor.
std::vector<Resource> R;
std::vector<Creature> C;
std::vector<Location> L;