Hmm… I may not be explaining this properly.
I’m referring to completely different states of things happening at different times.
For instance, the MainMenuState has different options to choose from (Play Game, Settings, Credits) and a main logo. You click the Settings or Credits and you’ll get what it shown. This has its own set of input, updating and whatnot. Just different things shown (and for the settings, things that can be changed - sounds and music, etc). But when you click the Play Game option, all that is the MainMenuState goes away
In return, a new state is shown, the GameState. What this is all the things that are for the actual game. This has a completely different set of input, updating, which pertain to the GameState. When I quit out of the GameState (via an input button in the GameState), the old MainMenuState comes back and everything that it has/uses comes back.
This is more than just having different things rendered. It’s like the scenes that I’m reading, but I’m not entirely sure if these are the “scenes”. It also may be layers. But that’s why I’m asking what would I be using to get this stuff to happen.
I’m sorry if this still doesn’t explain it properly.