aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/InputSystem.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-25 11:17:20 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-25 11:17:20 +0100
commit596358ffea72aec48b389609349f717e76396ae2 (patch)
tree4c023d4797f18c5b240765b5fef07fc793f52f42 /src/crepe/system/InputSystem.h
parent327154fd428e0798eea544d9f073f8e1293aa158 (diff)
button test working
Diffstat (limited to 'src/crepe/system/InputSystem.h')
-rw-r--r--src/crepe/system/InputSystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/InputSystem.h b/src/crepe/system/InputSystem.h
index db6b374..5f71687 100644
--- a/src/crepe/system/InputSystem.h
+++ b/src/crepe/system/InputSystem.h
@@ -21,7 +21,7 @@ private:
MouseButton last_mouse_button = MouseButton::NONE;
const int click_tolerance = 5;
void handle_click(const MouseReleaseEvent);
-
+ void handle_move(const MouseMoveEvent);
Transform* find_transform_for_button(Button &button, std::vector<std::reference_wrapper<Transform>> &transforms);
bool is_mouse_inside_button(const MouseReleaseEvent &event, const Button &button, const Transform &transform);