EntityLinker

platypus. EntityLinker

new EntityLinker() → {EntityLinker}

This class defines a linker for TiledLoader to connect entity pointer properties as soon as both entities are created.

Source:
Returns:
Type:
EntityLinker

Returns the new EntityLinker object.

Methods

(static) recycle(The)

Returns EntityLinker back to the cache. Prefer the EntityLinker's recycle method since it recycles property objects as well.

Source:
Parameters:
Name Type Description
The platypus.EntityLinker

EntityLinker to be recycled.

(static) setUp() → {platypus.EntityLinker}

Returns EntityLinker from cache or creates a new one if none are available.

Source:
Returns:
Type:
platypus.EntityLinker

The instantiated EntityLinker.

recycle()

Relinquishes EntityLinker properties and recycles it.

Source: