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 7d3d8a2..64b3ec5 100644 --- a/inc/list.hpp +++ b/inc/list.hpp @@ -3,6 +3,7 @@ #include <SDL2/SDL.h> #include <list> +#include <vector> #include "functions.hpp" #include "creature.hpp" @@ -17,7 +18,7 @@ class List void Behavior(); void Place(); void Remove(); - std::list<Entity*> getNear(Creature C); + std::vector<Entity*> getNear(Creature C); private: Window main = Window("do not create new window."); |