mooball
    Preparing search index...

    Enumeration GamePlayState

    This type lets us understand the actual state of the game. This type only exists in a GameState object.

    Index

    Enumeration Members

    AfterGoal: 2

    This is the state of the game when the game is active and a goal has been scored. GameState.goalTickCounter is counting down from its initial value 150 while in this state. The game state is restored to Playing when this counter reaches 0.

    BeforeKickOff: 0

    This is the state of the game when the game has started, but kick-off has not happened yet.

    Ending: 3

    This is the state of the game when the game is active and a team has just been declared to have won the game. GameState.goalTickCounter is counting down from its initial value 300 while in this state. The game is stopped when this counter reaches 0.

    Playing: 1

    This is the state of the game when the game is active and kick-off has already happened.