#ifndef SDLAPP_HPP #define SDLAPP_HPP #include #include "Particle.h" #include "api/ParticleEmitter.h" class SDLApp { public: SDLApp(int windowWidth, int windowHeight); ~SDLApp(); bool initialize(); void handleEvents(bool& running); void clearScreen(); void presentScreen(); void drawSquare(int x, int y, int size); void cleanUp(); void drawParticles(const std::vector& emitters); void drawMultipleSquares(const std::vector& squares); private: int windowWidth; int windowHeight; SDL_Window* window; SDL_Renderer* renderer; }; #endif