Package-level declarations

Types

Link copied to clipboard

Enumeration of directions.

Link copied to clipboard
class Exit(val direction: Direction, locked: Boolean = false, identifier: Identifier? = null, description: Description? = null) : ExaminableObject, InteractWithItem
Link copied to clipboard
class Matrix(rooms: Array<Array<Array<Room>>>)

Provides a 3D matrix for representing collections of Room, specified with the rooms parameter.

Link copied to clipboard
class Overworld(val identifier: Identifier, var description: Description) : ExaminableObject

Provides an overworld which is a container of Region. The overwold has an identifier and a description.

Link copied to clipboard
class Region(val identifier: Identifier, var description: Description) : ExaminableObject

Provides a region which is a container of Room. The region has an identifier and a description.

Link copied to clipboard
class Room(val identifier: Identifier, var description: Description, exits: List<Exit> = emptyList(), items: List<Item> = emptyList()) : ExaminableObject, InteractWithItem

A room with a specified identifier and a description.

Link copied to clipboard
class RoomPosition(val room: Room, val x: Int, val y: Int, val z: Int)

Provides an x, y and z position for a room.

Link copied to clipboard
class ViewPoint(region: Region)