From ea764e4d4c8688953637f4afba96ec2223f5a7c1 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Thu, 5 Dec 2024 13:54:25 +0100 Subject: make format --- src/crepe/facade/SDLContext.cpp | 2 +- src/crepe/system/InputSystem.cpp | 9 ++++----- src/test/InputTest.cpp | 13 +++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp index 645a24f..88804ef 100644 --- a/src/crepe/facade/SDLContext.cpp +++ b/src/crepe/facade/SDLContext.cpp @@ -17,9 +17,9 @@ #include "../api/Camera.h" #include "../api/Config.h" -#include "../manager/EventManager.h" #include "../api/Sprite.h" #include "../api/Texture.h" +#include "../manager/EventManager.h" #include "../util/Log.h" #include "SDLContext.h" diff --git a/src/crepe/system/InputSystem.cpp b/src/crepe/system/InputSystem.cpp index 4a7f115..7cc8d30 100644 --- a/src/crepe/system/InputSystem.cpp +++ b/src/crepe/system/InputSystem.cpp @@ -1,14 +1,13 @@ +#include "../api/Button.h" #include "../manager/ComponentManager.h" #include "../manager/EventManager.h" -#include "../api/Button.h" - #include "InputSystem.h" using namespace crepe; void InputSystem::update() { - ComponentManager& mgr = this->mediator.component_manager; + ComponentManager & mgr = this->mediator.component_manager; EventManager & event_mgr = this->mediator.event_manager; std::vector event_list = SDLContext::get_instance().get_events(); RefVector