summaryrefslogtreecommitdiff
path: root/inc/list.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/list.hpp')
-rw-r--r--inc/list.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/list.hpp b/inc/list.hpp
index 64ca522..cc78031 100644
--- a/inc/list.hpp
+++ b/inc/list.hpp
@@ -4,6 +4,7 @@
#include <SDL2/SDL.h>
#include <list>
+#include "functions.hpp"
#include "creature.hpp"
#include "resource.hpp"
#include "window.hpp"
@@ -16,7 +17,6 @@ class List
void Behavior();
void Place();
void Remove();
- double Distance(SDL_Rect A, SDL_Rect B){return sqrt(pow(A.x-B.x,2)+pow(A.y-B.y,2));};
list<Entity*> getNear(Creature C);
private: