Game States
The game accepts 4 possible states, and 4 transition methods that are shown in the following diagram.
export enum GameState {
Launching = "Launching",
Playing = "Playing",
Paused = "Paused",
Stopped = "Stopped",
}
The game accepts 4 possible states, and 4 transition methods that are shown in the following diagram.