summaryrefslogtreecommitdiff
path: root/inc/creature.hpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2016-05-02 18:15:26 -0500
committertom <tom@ground-control>2016-05-02 18:15:26 -0500
commit4bb5b05443c36bc6e0a164bc7e324a5486be45ff (patch)
tree460cad1b8dac8d0af64b936f02447a832fbc625a /inc/creature.hpp
parentb5b0644cf5ca8f5a35c023a1b87a3e28ff33fc51 (diff)
commiting before refractoring type out of location and into entity
Diffstat (limited to 'inc/creature.hpp')
-rw-r--r--inc/creature.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/creature.hpp b/inc/creature.hpp
index f3bd723..ffff888 100644
--- a/inc/creature.hpp
+++ b/inc/creature.hpp
@@ -31,12 +31,14 @@ class Creature: public Entity
int health;
int maxHealth;
int hunger;
- int speed = 2;
+ int speed = 1;
bool able;
int bestSense = 100;
vector<Resource*> nR; //vector containing resources near the creature
vector<Creature*> nC; //vector containing creatures near the creature
+ vector<Entity*> N;
+
int n;
};