Very jank but now I can set different panels as active and test for mouse events in them to enable mouse. This needs a big cleanup and probably some FSM love.

This commit is contained in:
Zed A. Shaw 2024-12-30 20:20:17 -05:00
parent f0829bb9ea
commit 941be008f8
3 changed files with 17 additions and 9 deletions

View file

@ -89,6 +89,7 @@ class GUI {
SoundManager $sounds;
SFMLRender $renderer;
UnDumbTSS $paused;
std::vector<Panel*> $panels;
public:
GUI(DinkyECS::World& world, Map& game_map);