diff options
author | dakjos <dsojka@siu.edu> | 2015-05-07 19:53:39 -0500 |
---|---|---|
committer | dakjos <dsojka@siu.edu> | 2015-05-07 19:53:39 -0500 |
commit | c63d77ddddb69ef0f641d90a8c3922fdc356224c (patch) | |
tree | 6867ee8ee11718eca9bb144b98f17c695a891495 /inc/creature.hpp | |
parent | ffcee12acf3fe3f972f322c18b3203212682205d (diff) |
Some variable names changed and many comments made so I understand what the fuck is going on
Diffstat (limited to 'inc/creature.hpp')
-rw-r--r-- | inc/creature.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/inc/creature.hpp b/inc/creature.hpp index a0046fb..9a26ee8 100644 --- a/inc/creature.hpp +++ b/inc/creature.hpp @@ -12,14 +12,14 @@ class Creature: public Entity void Action(); void Priority(); Location getLocation(); - void giveKnown(std::vector<Location> Z){K=Z;}; + void giveKnown(std::vector<Location> Z){location = Z;}; private: - int xT; - int yT; - int hp; - int hu; - std::vector<Location> K; + int xTarget; //x-coordinate of creature's target position + 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? }; #endif |