Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ControlResult

Represents "what" the system should communicate to the user.

This is the output object from the handle and initiative phases and is the intermediate representation passed to the render phase.

If the session is not being closed, the ControlResult must contain exactly one InitiativeAct.

Hierarchy

  • ControlResult

Implements

Constructors

Properties

Methods

Constructors

constructor

Properties

acts

acts: SystemAct[]

sessionBehavior

sessionBehavior: SessionBehavior

Methods

hasInitiativeAct

  • hasInitiativeAct(): boolean
  • Determines if the result has an initiative act.

    Returns boolean

toString

  • toString(): string
  • Returns string