EntityAdditionListener

interface EntityAdditionListener : EntityListener

An EntityListener only requiring an implementation of the entityAdded method.

An empty implementation is provided for the entityRemoved method. By default, the entity removal event is ignored.

To handle more types of events, consider implementing EntityListener directly.

Functions

Link copied to clipboard
abstract override fun entityAdded(entity: Entity)

Invoked when a matching Entity is added to the Engine.

Link copied to clipboard
open override fun entityRemoved(entity: Entity)