LogoPixi’VN
indexInterfaces

Interface: NarrationLabelsInterface

Defined in: src/narration/interfaces/NarrationLabelsInterface.ts:3

Properties

current

> readonly current: LabelAbstract<any, { }, number> | undefined

Defined in: src/narration/interfaces/NarrationLabelsInterface.ts:11

currentLabel is the current label that occurred during the progression of the steps.


opened

> readonly opened: OpenedLabel[]

Defined in: src/narration/interfaces/NarrationLabelsInterface.ts:7

The stack of the opened labels.

Methods

closeAll()

> closeAll(): void

Defined in: src/narration/interfaces/NarrationLabelsInterface.ts:19

Close all labels and add them to the history. Attention: This method can cause an unhandled game ending.

Returns

void


closeCurrent()

> closeCurrent(): void

Defined in: src/narration/interfaces/NarrationLabelsInterface.ts:15

Close the current label and add it to the history.

Returns

void

On this page