Implemention of the startup room

Used as the first room for new player sessions.

Hierarchy (View Summary)

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

Alias: string = "startup"

Alias of this room

Accessors

  • get alias(): string
  • Get the alias of this game object

    Returns string

Methods

  • Get the actions that can be used in this room

    Returns Action[]

    List of actions

  • Execute the Examine action

    Returns undefined | ActionResult

    Result of the Examine action or undefined if unhandled

  • Get the images used to graphically represent this room

    Returns string[]

    List of images

  • Get the name of this game object

    Returns string

  • Get the game objects that are located inside this room

    Returns SyncOrAsync<GameObject[]>

    List of game objects

  • Execute a simple action

    Parameters

    • alias: string

      Alias of the simple action to execute

    Returns undefined | ActionResult

    Result of the simple action or undefined if unhandled