diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/creature.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/creature.cpp b/src/creature.cpp index 10274b6..83b9f4d 100644 --- a/src/creature.cpp +++ b/src/creature.cpp @@ -164,13 +164,4 @@ Location Creature::getLocation() return L; } -double Creature::Distance(Location A, Location B) -{ - //computes distance between two points - return sqrt(pow(A.x - B.x, 2) + pow(A.y - B.y, 2)); -} -bool Creature::doesItHaveTarget() -{ - return hasTarget; -} |