summaryrefslogtreecommitdiff
path: root/inc/creature.hpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-05-07 12:35:15 -0500
committertom <tom@ground-control>2015-05-07 12:35:15 -0500
commitffcee12acf3fe3f972f322c18b3203212682205d (patch)
treeac300fa0808b8f6218669e3f14b1d0b784bc7055 /inc/creature.hpp
parente91f0c208605f27d2ba9e2a9c584c92212ab0088 (diff)
woo! detection is implemented albeit shitty
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 f72dfbc..a0046fb 100644
--- a/inc/creature.hpp
+++ b/inc/creature.hpp
@@ -10,14 +10,16 @@ class Creature: public Entity
Creature(Window m, std::string s);
void Behavior();
void Action();
+ void Priority();
Location getLocation();
+ void giveKnown(std::vector<Location> Z){K=Z;};
private:
int xT;
int yT;
int hp;
int hu;
- Location K[3];
+ std::vector<Location> K;
};
#endif