#pragma once #include "uiObject.h" #include "uiRenderer.h" #include #include class WindowManager { public: WindowManager(); virtual ~WindowManager(); bool initWindow(); void destroyWindow(); SDL_Renderer * getRenderer(); void addUIObject(UIObject * uiObject); void renderUIObjects(); private: const int SCREEN_WIDTH = 800; const int SCREEN_HEIGHT = 600; SDL_Window * window = nullptr; SDL_Renderer * renderer = nullptr; UIRenderer * uiRenderer; std::vector uiObjects; };