blob: a27ff5392e259c1db01cbd521cd0e9f2edb0c1d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "Button.h"
namespace crepe {
Button::Button(game_object_id_t id, int width, int height, std::function<void()> on_click, bool is_toggle
)
: UiObject(id, width, height),
is_toggle(is_toggle),
on_click(on_click) {}
} // namespace crepe
|