Got some kind of jank button and mouse events coming in, now just need to connect them to the GUI to detect button presses and other interaction.
This commit is contained in:
parent
9741df30ab
commit
37d28094ec
5 changed files with 56 additions and 27 deletions
|
@ -5,6 +5,6 @@ BUGS:
|
|||
TODO:
|
||||
* Add a timer to the game engine so you can set a kind of pomodoro timer and if you don't meet the goal it costs you.
|
||||
|
||||
* Track the deaths.
|
||||
|
||||
https://en.cppreference.com/w/cpp/language/parameter_pack
|
||||
* Convert buttons to sprites.
|
||||
* Mouse events to the GUI.
|
||||
* sf::Rect::contains(mouse.x, mouse.y) will say if the mouse is inside the sprite rect.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue