From 44affb6635359ef2f619562800165ccfff438ae4 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 21 Sep 2024 15:35:05 +0200 Subject: `make format` --- mwe/gameloop/include/window.h | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'mwe/gameloop/include/window.h') diff --git a/mwe/gameloop/include/window.h b/mwe/gameloop/include/window.h index cfde0e9..6806a26 100644 --- a/mwe/gameloop/include/window.h +++ b/mwe/gameloop/include/window.h @@ -1,20 +1,21 @@ #pragma once -#include -#include #include "gameObject.h" +#include #include -class WindowManager{ - public: - WindowManager(); - virtual ~WindowManager(); - void render(std::vector objects); - bool initWindow(); - void destroyWindow(); - - SDL_Renderer* getRenderer(); - private: - const int SCREEN_WIDTH = 800; - const int SCREEN_HEIGHT = 600; - SDL_Window* window = NULL; - SDL_Renderer* renderer = NULL; +#include +class WindowManager { +public: + WindowManager(); + virtual ~WindowManager(); + void render(std::vector objects); + bool initWindow(); + void destroyWindow(); + + SDL_Renderer * getRenderer(); + +private: + const int SCREEN_WIDTH = 800; + const int SCREEN_HEIGHT = 600; + SDL_Window * window = NULL; + SDL_Renderer * renderer = NULL; }; -- cgit v1.2.3