new POM.Manager()
POM Manager main container
Extends
- PIXI.Container
Methods
-
createElementFromData(data)
-
create new element from given data (see elements folder) if no matching prototype is registered an exception is thorwn.
Name Type Description dataObject contains information about the element Returns:
new instance of an element -
destroyPlugins()
-
Remove all the plugins of this object
-
initPlugins()
-
Instantiate all plugins of this object
-
registerPlugin(pluginName, ctor)
-
Adds a plugin to an object
Name Type Description pluginNamestring The name of the plugin. ctorObject -
registerPrototype(type, elementPrototype)
-
register new element prototype
Name Type Description typeString name of the element elementPrototypeElement base class for the element