frontend
Preparing search index...
hooks/gameReplay
ReplayConfig
Interface ReplayConfig<TState>
Configuration for the replay animation runner.
interface
ReplayConfig
<
TState
>
{
buildHumanActionState
?:
(
finalState
:
TState
)
=>
TState
|
null
;
buildReplayStates
:
(
finalState
:
TState
)
=>
TState
[]
;
getActionDelay
?:
(
finalState
:
TState
,
actionIndex
:
number
)
=>
number
;
}
Type Parameters
TState
Index
Properties
build
Human
Action
State?
build
Replay
States
get
Action
Delay?
Properties
Optional
build
Human
Action
State
buildHumanActionState
?:
(
finalState
:
TState
)
=>
TState
|
null
build
Replay
States
buildReplayStates
:
(
finalState
:
TState
)
=>
TState
[]
Optional
get
Action
Delay
getActionDelay
?:
(
finalState
:
TState
,
actionIndex
:
number
)
=>
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
build
Human
Action
State
build
Replay
States
get
Action
Delay
frontend
Loading...
Configuration for the replay animation runner.