Skip to content

Point

class Point(
val scene: Scene,
val name: String,
val x: Int,
val z: Int,
val height: Int
)
Example
fun enterArena(player: Actor, start: Point) {
val arena = Scenes.boss_arena.createShard(endWhenEmpty = true)
player.teleport(arena.at(start))
player.message("You arrive at ${start.name}.")
}
val scene: Scene
val name: String
val x: Int
val z: Int
val height: Int
val tile4: Tile4