Game State
Game State is where most of the game occurs. In this state you can control your robot to fight other robots. When your health arrives to 0, you die and go to the DeadState.
Setup
In the Setup the game connects with the NetworkManager and the MentalMap to receive updates (e.g. your health has changed, some player has joined the game, some player died...). It also starts the video and audio and enables both the user input and the robot controller.
Loop
In the Loop the game gets input events, process them accordingly and updates the screen.
Cleanup
If it arrived to this state after requesting exit, it disables all the involved managers.
Transitions
If health arrives to 0, you die and go to the DeadState.
If exit is requested, it finishes the game.