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