Sets the new game state. This is a hook for subclasses to perform extra logic.
The new state.
Called right before a state starts. Subclasses can do any needed initialization here.
Called when this state is being left for another one.
Generated using TypeDoc
Fades one state out and another state in.