diff options
Diffstat (limited to 'inc/list.hpp')
-rw-r--r-- | inc/list.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/list.hpp b/inc/list.hpp index 14a6a9a..9d05fec 100644 --- a/inc/list.hpp +++ b/inc/list.hpp @@ -12,7 +12,8 @@ class List List(Window m); void Behavior(); void Place(); - double Distance(Location A, Location B){return sqrt(pow(A.x-B.x,2)+pow(A.y-B.y,2));}; + double Distance(Location A, Location B){return sqrt(pow(A.x-B.x,2)+pow(A.y-B.y,2));}; + vector<Entity*> getNear(Creature C); private: //vectors containing objects of each type |