Interface: GameTestingState
Defined in: src/core/testing.ts:22
A read-only snapshot of everything a test session typically needs to decide its next action, gathered from narrationUtils.narration and historyUtils.stepHistory in a single call instead of reading several properties one by one.
Properties
canContinue
> canContinue: boolean
Defined in: src/core/testing.ts:31
canGoBack
> canGoBack: boolean
Defined in: src/core/testing.ts:32
choices
> choices: StoredIndexedChoiceInterface[] | undefined
Defined in: src/core/testing.ts:25
currentLabelId
> currentLabelId: string | undefined
Defined in: src/core/testing.ts:34
dialogue
> dialogue: DialogueInterface | undefined
Defined in: src/core/testing.ts:23
dialogueGlue
> dialogueGlue: boolean
Defined in: src/core/testing.ts:24
input
> input: object
Defined in: src/core/testing.ts:26
isRequired
> isRequired: boolean
type
> type: string | undefined
value
> value: StorageElementType
labelsOpened
> labelsOpened: OpenedLabel[]
Defined in: src/core/testing.ts:33
stepCounter
> stepCounter: number
Defined in: src/core/testing.ts:35