Search
Preparing search index...
The search index is not available
@brochington/ecstatic
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@brochington/ecstatic
SimpleFSM
default
Class default<S, D>
Type parameters
S
:
State
D =
undefined
Hierarchy
default
Index
Constructors
constructor
Properties
current
inital
transitions
Methods
is
next
reset
Constructors
constructor
new default<S, D>
(
initialState
:
S
, transitions
:
Transitions
<
S
,
D
>
)
:
default
<
S
,
D
>
Type parameters
S
:
State
D =
undefined
Parameters
initialState:
S
transitions:
Transitions
<
S
,
D
>
Returns
default
<
S
,
D
>
Properties
current
current
:
S
inital
inital
:
S
transitions
transitions
:
Transitions
<
S
,
D
>
Methods
is
is
(
checkState
:
S
)
:
boolean
Parameters
checkState:
S
Returns
boolean
next
next
(
data
:
D
)
:
void
Parameters
data:
D
Returns
void
reset
reset
(
)
:
void
Returns
void
Exports
Component
Collection
Dev
Entity
Dev
Tools
Entity
SimpleFSM
Systems
Tag
Tracked
Component
World
guards
index
default
constructor
current
inital
transitions
is
next
reset
State
Transitions
Generated using
TypeDoc