[LANGUAGE STATE] Screen that asks the user to select the language for the game text.
- Source:
Methods
(static) create()
Main code
- Source:
(static) onInputDown(mouseEvent)
Called by mouse click event
Parameters:
Name | Type | Description |
---|---|---|
mouseEvent |
object | contains the mouse click coordinates |
- Source:
(static) onInputOver(mouseEvent)
Called by mouse move event
Parameters:
Name | Type | Description |
---|---|---|
mouseEvent |
object | contains the mouse move coordinates |
- Source:
(static) setLang(selectedLang)
Calls state that loads selected language
Parameters:
Name | Type | Description |
---|---|---|
selectedLang |
string | language selected by player |
- Source: