#include "../api/Button.h" #include "../manager/ComponentManager.h" #include "../manager/EventManager.h" #include "facade/SDLContext.h" #include "util/Log.h" #include "InputSystem.h" using namespace crepe; void InputSystem::update() { ComponentManager & mgr = this->mediator.component_manager; EventManager & event_mgr = this->mediator.event_manager; SDLContext & context = this->mediator.sdl_context; std::vector event_list = context.get_events(); RefVector