diff options
Diffstat (limited to 'inc/creature.hpp')
-rw-r--r-- | inc/creature.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/creature.hpp b/inc/creature.hpp index 9bb73ee..cfdd317 100644 --- a/inc/creature.hpp +++ b/inc/creature.hpp @@ -9,10 +9,11 @@ class Creature: public Entity public: Creature(Window m, std::string s); void Behavior(); - void Action(); + void Action(); void Priority(); Location getLocation(); void giveKnown(std::vector<Location> Z){location = Z;}; + int getHealth(){return health;}; private: int xTarget; //x-coordinate of creature's target position |