klapstoelpiloot / pandemic

Pandemic Arcade-Style Shuffleboard
http://www.codeimp.com?p=pandemic
MIT License
7 stars 0 forks source link

Management of renderers need refactoring to work with menu overlay #2

Open klapstoelpiloot opened 2 years ago

klapstoelpiloot commented 2 years ago

Problem: Currently the management of renderers is a list that can be cleared or added to. This is not sufficient for a menu that can open and overlay at any time. You can see that we force the menu to close at every game state change as a temporary solution (comments: TODO: Temporary fix. Remove when renderers are fixed so that menu can stay open.)

Solution: Design and implement a renderer management system that works for menu overlay that can stay open during game state transitions.