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:
Zed A. Shaw 2024-09-17 11:55:01 -04:00
parent 9741df30ab
commit 37d28094ec
5 changed files with 56 additions and 27 deletions

View file

@ -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.