LogicPortal

platypus.components. LogicPortal

new LogicPortal(definition)

A component which changes the scene when activated. When the portal receives an occupied message it sends the entity in that message notifying it. This message is meant to give the entity a chance to activate the portal in the manner it wants. The portal can also be activated by simply telling it to activate.

Source:
Parameters:
Name Type Description
definition *
Listens to Events: