Class PlayerStateMachine<TPlayer>Abstract

Type Parameters

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

player: TPlayer
prompt: PromptHelper

Accessors

  • get canRestart(): boolean
  • Returns boolean

  • get canUndo(): boolean
  • Returns boolean

Methods

  • Parameters

    • action: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    Returns Promise<void>

Generated using TypeDoc