#pragma once #include #include "SDL.h" #include "square.h" /* entityList2D is the 2D entity container class */ class entityList2D : public std::vector { public: void run(SDL_Renderer* renderer) { for (square* entity : *this) { entity->run(renderer); } } };