LogoPixi’VN
indexInterfaces

Interface: HistoryStep

Defined in: src/narration/interfaces/HistoryStep.ts:20

Properties

alreadyMadeChoices?

> optional alreadyMadeChoices?: number[]

Defined in: src/narration/interfaces/HistoryStep.ts:52

List of choices already made by the player


choiceIndexMade?

> optional choiceIndexMade?: number

Defined in: src/narration/interfaces/HistoryStep.ts:60

The choice made by the player


choices?

> optional choices?: StoredChoiceInterface[]

Defined in: src/narration/interfaces/HistoryStep.ts:48

List of choices asked of the player


currentLabel?

> optional currentLabel?: string

Defined in: src/narration/interfaces/HistoryStep.ts:28

The label id of the current step.


dialogue?

> optional dialogue?: StoredDialogue

Defined in: src/narration/interfaces/HistoryStep.ts:44

Dialogue to be shown in the game


diff?

> optional diff?: Difference[]

Defined in: src/narration/interfaces/HistoryStep.ts:24

The difference between the previous step and the current step.


index

> index: number

Defined in: src/narration/interfaces/HistoryStep.ts:36

Equivalent to the narration.stepCounter


inputValue?

> optional inputValue?: StorageElementType

Defined in: src/narration/interfaces/HistoryStep.ts:56

The input value of the player


isGlued?

> optional isGlued?: boolean

Defined in: src/narration/interfaces/HistoryStep.ts:64

If true, the current dialogue will be glued to the previous one.


labelStepIndex

> labelStepIndex: number | null

Defined in: src/narration/interfaces/HistoryStep.ts:40

The data of the step of the label.


openedLabels?

> optional openedLabels?: OpenedLabel[]

Defined in: src/narration/interfaces/HistoryStep.ts:68

Opened Labels in the current step.


stepSha1

> stepSha1: string

Defined in: src/narration/interfaces/HistoryStep.ts:32

The sha1 of the step function.