-
-
Load async stuff
-
-
Handle scene key pressed
Name |
Type |
Description |
key |
number
|
The key ID |
-
-
Handle scene pressed and repeat key
Name |
Type |
Description |
key |
number
|
The key ID |
Returns:
-
-
Draw the HUD scene
-
-
Update all the reactions interpreters
-
-
Update all the parallel commands
-
addReaction
(sender, reaction, object, state, parameters, event, moving)
inherited
overrides
-
Add a reaction in the interpreter list
Name |
Type |
Description |
sender |
MapObject
|
The sender of this reaction |
reaction |
SystemReaction
|
The reaction to add |
object |
MapObject
|
The object reacting |
state |
number
|
The state ID |
parameters |
Array.<SystemParameter>
|
All the parameters coming with
this reaction |
event |
Array.<number>
|
The time events values |
moving |
boolean
|
Indicate if command is a moving one |
-
-
Update the scene
-
-
Handle scene key released
Name |
Type |
Description |
key |
number
|
The key ID |
-
-
Handle scene pressed repeat key
Name |
Type |
Description |
key |
number
|
The key ID |
Returns:
-
-
Draw the 3D scene
-
-
Close the scene