Pixi’VN
indexInterfaces

Interface: GameTestingState

Defined in: src/core/testing.ts:21

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:30


canGoBack

> canGoBack: boolean

Defined in: src/core/testing.ts:31


choices

> choices: StoredIndexedChoiceInterface[] | undefined

Defined in: src/core/testing.ts:24


currentLabelId

> currentLabelId: string | undefined

Defined in: src/core/testing.ts:33


dialogue

> dialogue: DialogueInterface | undefined

Defined in: src/core/testing.ts:22


dialogueGlue

> dialogueGlue: boolean

Defined in: src/core/testing.ts:23


input

> input: object

Defined in: src/core/testing.ts:25

isRequired

> isRequired: boolean

type

> type: string | undefined

value

> value: StorageElementType


labelsOpened

> labelsOpened: OpenedLabel[]

Defined in: src/core/testing.ts:32


stepCounter

> stepCounter: number

Defined in: src/core/testing.ts:34

On this page