@kismet.ts/core / Exports / SequenceGridManager

Class: SequenceGridManager

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new SequenceGridManager()

Properties

grid

grid: Partial<KismetPosition> = {}

Defined in

managers/SequenceGridManager.ts:4open in new window


gridWindow

gridWindow: Partial<Record<"x" | "y", [number, number]>> = {}

Defined in

managers/SequenceGridManager.ts:5open in new window

Methods

applyGridPosition

Private applyGridPosition(position): KismetPosition

Parameters

NameType
positionKismetPosition

Returns

KismetPosition

Defined in

managers/SequenceGridManager.ts:18open in new window


applyGridToSequence

applyGridToSequence(sequence): Sequence

Parameters

NameType
sequenceSequence

Returns

Sequence

Defined in

managers/SequenceGridManager.ts:43open in new window


isInWindow

Private isInWindow(position): boolean

Parameters

NameType
positionKismetPosition

Returns

boolean

Defined in

managers/SequenceGridManager.ts:8open in new window


setGrid

setGrid(grid, window?): SequenceGridManager

Parameters

NameType
gridKismetPosition
window?Record<"x" | "y", [number, number]>

Returns

SequenceGridManager

Defined in

managers/SequenceGridManager.ts:33open in new window