EntityHandler

EntityHandler

Handler for loading entities into engine

Constructor

new EntityHandler(…args)

Parameters:
Name Type Attributes Description
args * <repeatable>

ConfigHandler constructor arguments.

Methods

_getHandler(type) → {ComponentHandler}

Gets the handler for a component type or creates a new one if necessary

Parameters:
Name Type Description
type string

_update(ref, config, options) → {Promise}

Adds/updates/removes an entity

Parameters:
Name Type Description
ref string
config Object
options Object