windowManager.h 435 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef WINDOWMANAGER_H
  2. #define WINDOWMANAGER_H
  3. #include "SDL.h"
  4. class WindowManager{
  5. public:
  6. const static int SCREEN_WIDTH = 640; //640
  7. const static int SCREEN_HEIGHT = 480; //480
  8. WindowManager();
  9. ~WindowManager();
  10. bool startUp();
  11. bool startSDL();
  12. bool createWindow();
  13. SDL_Window* getWindow();
  14. void shutDown();
  15. void wait();
  16. private:
  17. SDL_Window *mainWindow;
  18. };
  19. #endif