EntityRemovalListener

interface EntityRemovalListener : EntityListener

An EntityListener only requiring an implementation of the entityRemoved method.

An empty implementation is provided for the entityAdded method. By default, the entity addition event is ignored.

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

Functions

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

Invoked when a matching Entity is removed from the Engine.