#ifndef list_h #define list_h #include #include #include "creature.hpp" #include "resource.hpp" #include "window.hpp" #include "constants.hpp" class List { public: List(Window m); 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 getNear(Creature C); private: Window main = Window("do not create new window."); list R; list C; }; #endif