callEvent
inline fun <T> callEvent(vararg components: Any, source: Entity? = null, crossinline result: (event: Entity) -> T): T
Calls an event with components attached to it and this entity as the target, calculating a result after all handlers have run.
Calls an event with components attached to it and this entity as the target.
Calls an event on this entity using a temporary entity that can be configured with initEvent.
inline fun <T> callEvent(crossinline init: Entity.() -> Unit, source: Entity? = null, crossinline result: (event: Entity) -> T): T
Calls an event on this entity using a temporary entity that can be configured with init, calculating a result after all handlers have run.
Calls an event using a specific entity on this entity.