includes are accurate and formatted

This commit is contained in:
Justin Scofield
2022-06-12 18:42:21 -04:00
parent aa787a39fa
commit bf83a7cf3c
2 changed files with 11 additions and 11 deletions

View File

@@ -1,5 +1,7 @@
#include "Window.h" #include "Window.h"
#include <SDL2/SDL.h>
namespace yaze { namespace yaze {
namespace Application { namespace Application {
namespace Core { namespace Core {
@@ -19,9 +21,7 @@ void Window::Create() {
} }
} }
SDL_Window* Window::Get() { SDL_Window* Window::Get() { return window; }
return window;
}
void Window::Destroy() { void Window::Destroy() {
SDL_DestroyWindow(window); SDL_DestroyWindow(window);

View File

@@ -10,8 +10,8 @@ namespace Core {
class Window { class Window {
public: public:
void Create(); void Create();
SDL_Window* Get();
void Destroy(); void Destroy();
SDL_Window* Get();
private: private:
SDL_Window* window = nullptr; SDL_Window* window = nullptr;