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