Properties:
| Name | Type | Argument | Default | Description |
|---|---|---|---|---|
SceneMenunbItemsToDisplay |
WindowChoices |
<optional> |
12 | The number of slots to display |
selectedOrder |
number | Index of the selected hero to order | ||
windowChoicesCommands |
WindowChoices | The window choices for choosing a command | ||
windowChoicesTeam |
WindowChoices | The window for displaying informations about team | ||
windowTimeCurrencies |
WindowBox | The window for displaying time and currencies | ||
selectedOrder |
number | Index of the selected hero to order |
Extends
Methods
-
Callback function for opening inventory
-
Callback function for opening skills menu
-
Callback function for opening equipment menu
-
Callback function for opening player description state menu
-
Callback function for reordering heroes
-
Callback function for opening save menu
-
Callback function for quiting the game
-
update () overrides
-
Update the scene
-
onKeyPressed (key) overrides
-
Handle scene key pressed
Name Type Description keynumber The key ID -
onKeyReleased (key) overrides
-
Handle scene key released
Name Type Description keynumber The key ID -
onKeyPressedRepeat (key)boolean overrides
-
Handle scene pressed repeat key
Name Type Description keynumber The key ID Returns:
Type Description boolean -
onKeyPressedAndRepeat (key)boolean overrides
-
Handle scene pressed and repeat key
Name Type Description keynumber The key ID Returns:
Type Description boolean -
draw3D () overrides
-
Draw the 3D scene
-
drawHUD () overrides
-
Draw the HUD scene
-
close () overrides
-
Close the scene
-
Load async stuff
-
Update all the reactions interpreters
-
Update all the parallel commands
-
Add a reaction in the interpreter list
Name Type Description senderMapObject The sender of this reaction reactionSystemReaction The reaction to add objectMapObject The object reacting statenumber The state ID parametersArray.<SystemParameter> All the parameters coming with this reaction eventArray.<number> The time events values movingboolean Indicate if command is a moving one