Namespace: UserInterface

UserInterface

UserInterface class
Source:

Methods

(static) playing Sets the play/pause button in the UI.(playing)

Parameters:
Name Type Description
playing boolean Whether the game is playing or not.
Source:

(static) updateGameState Updates the game state in the UI.(state)

Parameters:
Name Type Description
state string The state to update the game state to.
Source:

(static) updateMobilityBonus Updates the status of the "Mobility Bonus" button.(isAuto)

Parameters:
Name Type Description
isAuto boolean Whether or not the game is in Auto mode.
Source:

(static) updateTimer Updates the timer in the UI.(time)

Parameters:
Name Type Description
time number The time to update the timer to.
Source: