diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-17 09:25:11 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-17 09:25:11 +0100 |
commit | 093493d1ecc082672d80707c31bd95a5175ab2ce (patch) | |
tree | 7a692e5bafff5bfda971ce3e9c91ba48bbd7b5dc /src/crepe/api/Button.cpp | |
parent | cc2ec343367ebaa3b6a6142532f7a067c3c981a1 (diff) | |
parent | 3c99c73f3c1c31ba97f7e8c74f434c880f8a9036 (diff) |
Merge branch 'wouter/inputSystem' into wouter/button-improvement
Diffstat (limited to 'src/crepe/api/Button.cpp')
-rw-r--r-- | src/crepe/api/Button.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/api/Button.cpp b/src/crepe/api/Button.cpp index 76f74f0..305922c 100644 --- a/src/crepe/api/Button.cpp +++ b/src/crepe/api/Button.cpp @@ -3,9 +3,8 @@ namespace crepe { Button::Button(game_object_id_t id, const vec2 & dimensions, const vec2 & offset, - const std::function<void()> & on_click, bool is_toggle) + const std::function<void()> & on_click) : UIObject(id, dimensions, offset), - is_toggle(is_toggle), on_click(on_click) {} } // namespace crepe |