Class: ContainerElement

POM. ContainerElement

ContainerElement

new POM.ContainerElement(manager, data)

POM Container Element
Name Type Description
manager the core manager
data data for the element

Extends

  • PIXI.Container

Methods

getChildByNameRecursive(name)

Get element with given name - if it exists. searches all children for the element with this name
Name Type Description
name String The name of the element to be found
get data of SpriteElement (including defaults)
Returns:
Type Description
Object data representing the container (and its children)

removeChildByNameRecursive(name)

Removes element with a given name - if it exists. searches all children for the element with this name
Name Type Description
name String The name of the element to be removed
Sets data of objects from JSON decoded object
Name Type Description
data Object JSON decoded object representing the content
Update data of objects from JSON decoded object
Name Type Description
data Object JSON decoded object representing the content