RenderContainer

platypus.components. RenderContainer

new RenderContainer()

This component is attached to entities that will appear in the game world. It creates a PIXI Container to contain all other display objects on the entity and keeps the container updates with the entity's location and other dynamic properties.

Source:
Fires:
Listens to Events:

Methods

addToParentContainer(container)

Add this entity's container to a rendering container.

Source:
Parameters:
Name Type Description
container Container

Container to add this to.

removeFromParentContainer()

Remove this entity's container from the containing rendering container.

Source: