Class: SpriteElement

POM. SpriteElement

SpriteElement

new POM.SpriteElement(manager, data)

POM Manager Sprite Element
Name Type Description
manager Manager the core manager
data Object data for the element

Extends

  • PIXI.Container

Methods

get data of SpriteElement (including defaults)
Returns:
Type Description
Object data representing the sprite
update data of sprite from JSON decoded object
Name Type Description
data Object JSON decoded object representing the content