I am in two minds on how to handle this, I am working on a little manager class that controls game state and screens and just wondering if it is a bad idea to keep screens in memory?
Basically if the user clicks play on the main menu, game state changes and screen is changed to play, but main menu is kept in memory for later.
Is this a bad idea? Should I just init the screen all over again? Obviously the game screen would have to be recreated or else it would start off at wherever the game was last.
But is it ok to keep a reference to other screens?