blob: f179f60492c3592a42306bccc604017c6b1e9db6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "Button.h"
namespace crepe {
Button::Button(game_object_id_t id, vec2 dimensions,vec2 offset, std::function<void()> on_click,
bool is_toggle)
: UIObject(id, dimensions,offset),
is_toggle(is_toggle),
on_click(on_click) {}
} // namespace crepe
|