AreaModel

abstract class AreaModel(id: String, val name: String, val description: List<String>) : Identified(source)

An area model holding actual details about locations

Constructors

Link copied to clipboard
constructor(id: String, name: String, description: List<String>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun announce(to: Player)

Sends the first entrance messages to player

Link copied to clipboard

Called when player enters this location.

Link copied to clipboard

Registers any external listeners for this area

Properties

Link copied to clipboard

Description lines of this area

Link copied to clipboard
open override val id: Identifier
Link copied to clipboard

Formatted name of this area