summaryrefslogtreecommitdiff
path: root/inc/creature.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/creature.hpp')
-rw-r--r--inc/creature.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/creature.hpp b/inc/creature.hpp
index c3d5fdb..636d960 100644
--- a/inc/creature.hpp
+++ b/inc/creature.hpp
@@ -12,6 +12,7 @@ class Creature: public Entity
void Behavior();
void Action();
void Priority();
+ void setTarget();
void Move(Location l);
void giveN(list<Entity*> n){N = n;};
@@ -27,7 +28,7 @@ class Creature: public Entity
Location wTarget;
int health;
int maxHealth;
- int hunger;
+ bool hungry;
int speed = 1;
bool able;
int bestSense = 100;