From eac63735fb84ba3b59b5fc887d959e1492ef246d Mon Sep 17 00:00:00 2001 From: tom Date: Mon, 2 May 2016 16:29:28 -0500 Subject: spring cleaning --- inc/creature.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc') diff --git a/inc/creature.hpp b/inc/creature.hpp index 875b498..f3bd723 100644 --- a/inc/creature.hpp +++ b/inc/creature.hpp @@ -12,10 +12,10 @@ class Creature: public Entity int Behavior(); bool Action(); void Priority(); - Location getLocation(); void giveR(vector n){nR=n;}; void giveC(vector n){nC=n;}; - + + Location getLocation(){return L;}; double Distance(Location A, Location B){return sqrt(pow(A.x-B.x,2)+pow(A.y-B.y,2));}; int getHealth(){return health;}; bool doesItHaveTarget(){return hasTarget;}; -- cgit v1.2.3