ResourceLoader Class
The resource helps to load a bunch of resources from different kind of data structures.
Item Index
Methods
- loadAnimation static
- loadEventCommandsGraphics static
- loadEventCommandsGraphics static
- loadSystemGraphics static
- loadSystemSounds static
- loadUiDataFieldsGraphics static
- loadUiDataFieldsGraphics static
- loadUiGraphicsFromObject static
- loadUiTypesGraphics static
Methods
loadAnimation
(
static
-
animation
Loads all resources for the specified animation.
Parameters:
-
animation
Object- The animation-record.
loadEventCommandsGraphics
(
Boolean
static
-
commands
Loads all resources needed by the specified list of commands.
Parameters:
-
commands
Object- The list of commands.
Returns:
Boolean:
Indicates if data needs to be loaded.
loadEventCommandsGraphics
(
static
-
commands
Loads all resources needed by the specified list of commands.
Parameters:
-
commands
Object- The list of commands.
loadSystemGraphics
()
static
Loads all system graphics.
loadSystemSounds
()
static
Loads all system sounds.
loadUiDataFieldsGraphics
(
static
-
layout
Loads all graphics for the specified layout-descriptor.
Parameters:
-
layout
Object- The layout descriptor.
loadUiDataFieldsGraphics
(
static
-
layout
Loads all graphics for the specified layout-descriptor.
Parameters:
-
layout
Object- The layout descriptor.
loadUiGraphicsFromObject
(
static
-
layout
Loads all graphics for the specified layout-descriptor.
Parameters:
-
layout
Object- The layout descriptor.
loadUiTypesGraphics
(
static
-
types
Loads all graphics for the specified list of custom layout types/templates
Parameters:
-
types
Object- An array of custom layout types/templates