@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:4
gridWindow
• gridWindow: Partial
<Record
<"x"
| "y"
, [number
, number
]>> = {}
Defined in
managers/SequenceGridManager.ts:5
Methods
applyGridPosition
▸ Private
applyGridPosition(position
): KismetPosition
Parameters
Name | Type |
---|---|
position | KismetPosition |
Returns
Defined in
managers/SequenceGridManager.ts:18
applyGridToSequence
▸ applyGridToSequence(sequence
): Sequence
Parameters
Name | Type |
---|---|
sequence | Sequence |
Returns
Defined in
managers/SequenceGridManager.ts:43
isInWindow
▸ Private
isInWindow(position
): boolean
Parameters
Name | Type |
---|---|
position | KismetPosition |
Returns
boolean
Defined in
managers/SequenceGridManager.ts:8
setGrid
▸ setGrid(grid
, window?
): SequenceGridManager
Parameters
Name | Type |
---|---|
grid | KismetPosition |
window? | Record <"x" | "y" , [number , number ]> |