diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/creature.hpp | 2 | ||||
-rw-r--r-- | inc/list.hpp | 1 |
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; |