diff options
author | tom <tom@ground-control> | 2016-05-02 16:08:20 -0500 |
---|---|---|
committer | tom <tom@ground-control> | 2016-05-02 16:08:20 -0500 |
commit | 42d7b3bb511333e242a74f360873deb64cd89522 (patch) | |
tree | fdc15da04b62c7a865933aaea49996e719f60ac7 /src | |
parent | 2b17703707dab3af620fe05a73f05fc6f856e0b1 (diff) |
spring cleaning
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; -} |