Class: Manager

POM. Manager

Manager

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
data Object 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
pluginName string The name of the plugin.
ctor Object

registerPrototype(type, elementPrototype)

register new element prototype
Name Type Description
type String name of the element
elementPrototype Element base class for the element