Skip to content

on_self_left

fun on_self_left(behaviour: AreaLeft.(who: Entity) -> Unit)
AreaLeft.(who: Entity) -> Unit

Entity

Works with: WorldArea

Example
node<WorldArea>()
on_self_left { who ->
who.message("You leave the cave pool.")
}
var producedOn: Int