Package-level declarations

Types

Link copied to clipboard

Provides a base for all Characters.

Link copied to clipboard
class NonPlayableCharacter(val identifier: Identifier, var description: Description, var conversation: Conversation = Conversation.empty, isAlive: Boolean = true) : Character, Converser

A non-playable character with the specified identifier and description.

Link copied to clipboard
class PlayableCharacter(val identifier: Identifier, var description: Description, val canConverse: Boolean = true, items: List<Item> = emptyList()) : Character

A playable character with the specified identifier and description and items. If the playable character can converse with a Converser should be set to true, else false.