cubing.js — API Reference - v0.56.1-dev
Go to main documentation 🔗
Preparing search index...
twisty
SimpleAlgIndexer
Class SimpleAlgIndexer
Implements
AlgIndexer
Index
Constructors
constructor
Methods
alg
Duration
get
Anim
Leaf
index
To
Move
Start
Timestamp
move
Duration
num
Animated
Leaves
pattern
At
Index
timestamp
To
Index
transformation
At
Index
Constructors
constructor
new
SimpleAlgIndexer
(
kpuzzle
:
KPuzzle
,
alg
:
Alg
)
:
SimpleAlgIndexer
Parameters
kpuzzle
:
KPuzzle
alg
:
Alg
Returns
SimpleAlgIndexer
Methods
alg
Duration
algDuration
()
:
number
Returns
number
get
Anim
Leaf
getAnimLeaf
(
index
:
number
)
:
Move
Parameters
index
:
number
Returns
Move
index
To
Move
Start
Timestamp
indexToMoveStartTimestamp
(
index
:
number
)
:
number
Parameters
index
:
number
Returns
number
move
Duration
moveDuration
(
index
:
number
)
:
number
Parameters
index
:
number
Returns
number
num
Animated
Leaves
numAnimatedLeaves
()
:
number
Returns
number
pattern
At
Index
patternAtIndex
(
index
:
number
)
:
KPattern
Parameters
index
:
number
Returns
KPattern
timestamp
To
Index
timestampToIndex
(
timestamp
:
number
)
:
number
Parameters
timestamp
:
number
Returns
number
transformation
At
Index
transformationAtIndex
(
index
:
number
)
:
KTransformation
Parameters
index
:
number
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
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.56.1-dev
Loading...