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:
parent
f0829bb9ea
commit
941be008f8
3 changed files with 17 additions and 9 deletions
1
gui.hpp
1
gui.hpp
|
@ -89,6 +89,7 @@ class GUI {
|
|||
SoundManager $sounds;
|
||||
SFMLRender $renderer;
|
||||
UnDumbTSS $paused;
|
||||
std::vector<Panel*> $panels;
|
||||
|
||||
public:
|
||||
GUI(DinkyECS::World& world, Map& game_map);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue