cubing.js — API Reference - v0.61.1-dev
Go to main documentation 🔗
Preparing search index...
twisty
TreeAlgIndexer
Class TreeAlgIndexer
Implements
AlgIndexer
Index
Constructors
constructor
Methods
alg
Duration
get
Anim
Leaf
index
To
Moves
In
Progress
index
To
Move
Start
Timestamp
move
Duration
num
Animated
Leaves
pattern
At
Index
timestamp
To
Index
transformation
At
Index
Constructors
constructor
new
TreeAlgIndexer
(
kpuzzle
:
KPuzzle
,
alg
:
Alg
)
:
TreeAlgIndexer
Parameters
kpuzzle
:
KPuzzle
alg
:
Alg
Returns
TreeAlgIndexer
Methods
alg
Duration
algDuration
()
:
ExperimentalMillisecondDuration
Returns
ExperimentalMillisecondDuration
get
Anim
Leaf
getAnimLeaf
(
index
:
ExperimentalLeafIndex
)
:
Move
|
null
Parameters
index
:
ExperimentalLeafIndex
Returns
Move
|
null
index
To
Moves
In
Progress
indexToMovesInProgress
(
index
:
ExperimentalLeafIndex
,
)
:
ExperimentalMillisecondTimestamp
Parameters
index
:
ExperimentalLeafIndex
Returns
ExperimentalMillisecondTimestamp
index
To
Move
Start
Timestamp
indexToMoveStartTimestamp
(
index
:
ExperimentalLeafIndex
,
)
:
ExperimentalMillisecondTimestamp
Parameters
index
:
ExperimentalLeafIndex
Returns
ExperimentalMillisecondTimestamp
move
Duration
moveDuration
(
index
:
ExperimentalLeafIndex
)
:
ExperimentalMillisecondDuration
Parameters
index
:
ExperimentalLeafIndex
Returns
ExperimentalMillisecondDuration
num
Animated
Leaves
numAnimatedLeaves
()
:
ExperimentalLeafCount
Returns
ExperimentalLeafCount
pattern
At
Index
patternAtIndex
(
index
:
ExperimentalLeafIndex
,
startPattern
?:
KPattern
)
:
KPattern
Parameters
index
:
ExperimentalLeafIndex
Optional
startPattern
:
KPattern
Returns
KPattern
timestamp
To
Index
timestampToIndex
(
timestamp
:
ExperimentalMillisecondTimestamp
,
)
:
ExperimentalLeafIndex
Parameters
timestamp
:
ExperimentalMillisecondTimestamp
Returns
ExperimentalLeafIndex
transformation
At
Index
transformationAtIndex
(
index
:
ExperimentalLeafIndex
)
:
KTransformation
Parameters
index
:
ExperimentalLeafIndex
Returns
KTransformation
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
alg
Duration
get
Anim
Leaf
index
To
Moves
In
Progress
index
To
Move
Start
Timestamp
move
Duration
num
Animated
Leaves
pattern
At
Index
timestamp
To
Index
transformation
At
Index
Go to main documentation 🔗
cubing.js — API Reference - v0.61.1-dev
Loading...