Properties:
Name | Type | Description |
---|---|---|
windowTop |
WindowBox | Window on top with "Inventory" text |
windowChoicesTabs |
WindowTabs | Window for each tabs |
windowChoicesList |
WindowChoices | Window for each items |
windowInformations |
WindowBox | Window for item informations |
windowEmpty |
WindowBox | The window box empty |
windowBoxUseItem |
WindowBox | The window box for using item |
positionChoice |
Array.<Object> | The position choices index + offset for each type of item |
substep |
number | The subset for using item |
Extends
Methods
-
Update informations to display
-
Update tab
-
use the current item
-
Move tab according to key
Name Type Description key
number The key ID -
update () overrides
-
Update the scene
-
onKeyPressed (key) overrides
-
Handle scene key pressed
Name Type Description key
number The key ID -
onKeyReleased (key) overrides
-
Handle scene key released
Name Type Description key
number The key ID -
onKeyPressedRepeat (key)boolean overrides
-
Handle scene pressed repeat key
Name Type Description key
number The key ID Returns:
Type Description boolean -
onKeyPressedAndRepeat (key)boolean overrides
-
Handle scene pressed and repeat key
Name Type Description key
number The key ID Returns:
Type Description boolean -
draw3D () overrides
-
Draw the 3D scene
-
drawHUD () overrides
-
Draw the HUD scene
-
Load async stuff
-
Update all the reactions interpreters
-
Update all the parallel commands
-
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 -
Close the scene