Skip to content

on_world_start

fun on_world_start(behaviour: () -> Unit)
() -> Unit
Example
on_world_start {
World.spawn(Assets.Npc.goblin, Tile4.global(3222, 3218))
}