Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AlexaGame<T>

Nice game

Type parameters

Hierarchy

Index

Constructors

constructor

  • new AlexaGame(context: IRequestContext, model: T, turnOrder: ITurnOrder, waitToContinueGameDuration: number): AlexaGame

Properties

Protected context

context: IRequestContext

Protected model

model: T

Private turnOrder

turnOrder: ITurnOrder

Protected waitToContinueGameDuration

waitToContinueGameDuration: number

Accessors

state

Methods

Protected Abstract ButtonDown

  • ButtonDown(buttonName: string, inputEvent: InputEvent): void

ContinueGame

  • ContinueGame(): void

Protected Event

  • Event(eventName: string, inputEvent: InputEvent): void

GameEngineInputHandlerEvent

  • GameEngineInputHandlerEvent(context: IRequestContext, request: InputHandlerEventRequest): void

Protected InitializeButtonColors

  • InitializeButtonColors(): IDirective[]

Protected Abstract OnEvent

  • OnEvent(eventName: string, inputEvent: InputEvent): void

Abstract Start

  • Start(): void

Stop

  • Stop(): void

Protected Timeout

  • Timeout(item: InputHandlerEvent): void

Protected TryStart

  • TryStart(): void

Protected getAllIds

  • getAllIds(): string[]

Protected onGameCompleted

  • onGameCompleted(): void
  • Analyse the answer. Later do it with Recognizer.

    One for RightAnswer. type match with correct gadget id. Ans one for WrongAnswer. "type": "deviation" with the two wrong gadget ids.

    Returns void

Generated using TypeDoc