From 570acb7e9258edcd6a06fff4dd2ce0ff12a3e873 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Thu, 28 Nov 2024 09:01:37 +0100 Subject: added on_enter and on_hover --- src/crepe/system/InputSystem.cpp | 64 +++++++++++++++++++++------------------- src/crepe/system/InputSystem.h | 10 ------- 2 files changed, 34 insertions(+), 40 deletions(-) (limited to 'src/crepe/system') diff --git a/src/crepe/system/InputSystem.cpp b/src/crepe/system/InputSystem.cpp index 070f804..4695620 100644 --- a/src/crepe/system/InputSystem.cpp +++ b/src/crepe/system/InputSystem.cpp @@ -80,50 +80,54 @@ void InputSystem::update() { } void InputSystem::handle_move(const SDLContext::EventData & event_data) { - ComponentManager & mgr = this->component_manager; - - RefVector