Class: GameStatusForm

GameStatusForm(isMine, callback)

Simple form that allows players to join or quit the game, and game owner to set the delay and start the game. Also shows number of players currently in the game.

Constructor

new GameStatusForm(isMine, callback)

Parameters:
Name Type Description
isMine boolean Is this created by game owner?
callback function executed on user action, passed true for start or false for quit
Source:

Classes

GameStatusForm

Methods

getDelay()

Returns current delay value
Source:

init()

Shows the form
Source:

numberOfPlayers()

Set number of players
Source: