Methods
(static) ActorWithPreloadables($preloadables) → {Class.<Actor>}
- Description:
- Prepares an actor with preloadable assets.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
$preloadables |
Array.<(Class.<Preloadable>|Class.<Actor>)> | The preloadable assets (mix of preloadable assets and/or actors with preloadable assets). |
Returns:
- Type
- Class.<Actor>
(static) PreloadableSound($sound) → {Class.<Preloadable>}
- Description:
- Prepares a preloadable sound.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
$sound |
string | The preloadable sound. |
Returns:
- Type
- Class.<Preloadable>
(static) PreloadableTexture($texture) → {Class.<Preloadable>}
- Description:
- Prepares a preloadable texture.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
$texture |
string | The preloadable texture. |
Returns:
- Type
- Class.<Preloadable>
(static) StageWithPreloadables($preloadables) → {Class.<Stage>}
- Description:
- Prepares a stage with preloadable assets.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
$preloadables |
Array.<(Class.<Preloadable>|Class.<Actor>)> | The preloadable assets (mix of preloadable assets and/or actors with preloadable assets). |
Returns:
- Type
- Class.<Stage>