blob: d32501489e6fd60a46f64cbe68edbbb4afa72519 (
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
|