#pragma once #include #include "SDL.h" #include "square.h" class entityList : public std::vector { public: void run(SDL_Surface* surface) { for (square entity : *this) { entity.run(surface); } } };