Gameplay related things
- Source:
Methods
(static) checkSolution(order)
Parameters:
Name | Type | Description |
---|---|---|
order |
Array |
- Source:
(static) init()
Initialises variables
- Source:
(static) initLevel()
initializes the level
- Source:
(static) initTutotialLevel()
initializes the level; used in tutorial mode
- Source:
(static) nextExpression()
Generates new expression
- Source:
(static) nextTutorialExpression()
Generates new expression; used tutorial mode
- Source:
(static) setOperators(operators) → {gameplay.setOperators}
Prepares array of 'Operator' objects and images array
Parameters:
Name | Type | Description |
---|---|---|
operators |
type |
- Source:
Returns:
(static) startTutorial()
Starts the tutorial
- Source: