Made it so you can right-click on an item to use it, but yeah it's bad. Gotta refactor.
This commit is contained in:
parent
42575ef1f5
commit
ad0069e899
9 changed files with 48 additions and 61 deletions
|
@ -28,6 +28,7 @@ namespace gui {
|
|||
sf::Keyboard::Scancode scancode;
|
||||
gui::Event $next_event = gui::Event::TICK;
|
||||
int move_count = 0;
|
||||
bool left_button = true;
|
||||
int $drag_tolerance = 4;
|
||||
|
||||
void event(Event ev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue