SoundComponentHandler

SoundComponentHandler

For handling loading of sound components

Constructor

new SoundComponentHandler(…args)

Parameters:
Name Type Attributes Description
args * <repeatable>

ComponentHandler constructor arguments.

Methods

_prepare(config)

Prepares the config

Parameters:
Name Type Description
config Object

update(entity, config, options) → {Promise}

Update engine sound component object based on the config.

Parameters:
Name Type Description
entity Entity

The entity on which this component should be added.

config Object
options Object