So basically I've got a game that runs with 4 game states. One for the main menu and 3 for my mini-games. Within each of these mini games there are smaller states to handle various sections of the gameplay.
Now here's my question. When a player dies in the game I want to restart the game with them at the beginning. So I use one of my mini game structs to send them to .beginning However a lot of my bools and counters are messed up because they are different from what initialize would have them set to.
Is there any way I can send the player back to my .beginning and tell the code to reinialize in order to get my values back to what they should be for the start of the game?
cheers folks