Class used to represent the result of an Talk action

Hierarchy (View Summary)

Constructors

Properties

Accessors

Constructors

Properties

_character: Character

Character who is offering the choices

_choices: TalkChoice[]

Choices available to the player

Accessors

  • get character(): Character
  • Get the character who is offering the choices

    Returns Character

  • get choices(): TalkChoice[]
  • Get the choices available to the player

    Returns TalkChoice[]

  • get text(): string[]
  • Get the text to show

    Returns string[]