Search
Preparing search index...
The search index is not available
@mtgoo/ctool
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
IStateMachine
Interface IStateMachine
Hierarchy
IState
IStateMachine
Implemented by
TinyHFsm
Index
Properties
[PARENT]
[STATE_
DIC]
[TRANSLATION_
DIC]
any
State
cur
State
enter
State
exit
State
id
machine
name
store
Methods
[UPDATE]
add
State
add
Translation
chang
ToState
has
State
on
Enter
on
Exit
on
Update
remove
State
remove
Translation
update
Properties
[PARENT]
[PARENT]
:
IStateMachine
[STATE_
DIC]
[STATE_
DIC]
:
Map
<
string
,
IState
>
[TRANSLATION_
DIC]
[TRANSLATION_
DIC]
:
Map
<
IState
,
Omit
<
ITransition
,
"from"
>
>
Readonly
any
State
any
State
:
IState
Readonly
cur
State
cur
State
:
IState
Readonly
enter
State
enter
State
:
IState
Readonly
exit
State
exit
State
:
IState
Readonly
id
id
:
string
Readonly
machine
machine
:
IStateMachine
name
name
:
string
Readonly
store
store
:
any
Methods
[UPDATE]
[UPDATE]
(
deltaTime
:
number
)
:
void
Parameters
deltaTime:
number
Returns
void
add
State
add
State
(
state
:
IState
)
:
void
Parameters
state:
IState
Returns
void
add
Translation
add
Translation
(
translation
:
Omit
<
ITransition
,
"from"
>
)
:
void
Parameters
translation:
Omit
<
ITransition
,
"from"
>
Returns
void
chang
ToState
chang
ToState
(
state
:
string
|
IState
)
:
void
Parameters
state:
string
|
IState
Returns
void
has
State
has
State
(
state
:
IState
)
:
boolean
Parameters
state:
IState
Returns
boolean
on
Enter
on
Enter
(
prev
:
IState
)
:
void
Parameters
prev:
IState
Returns
void
on
Exit
on
Exit
(
next
:
IState
)
:
void
Parameters
next:
IState
Returns
void
on
Update
on
Update
(
deltaTime
:
number
)
:
void
Parameters
deltaTime:
number
Returns
void
remove
State
remove
State
(
state
:
IState
)
:
void
Parameters
state:
IState
Returns
void
remove
Translation
remove
Translation
(
to
:
IState
)
:
void
Parameters
to:
IState
Returns
void
update
update
(
deltaTime
:
number
)
:
void
Parameters
deltaTime:
number
Returns
void
Globals
IState
Machine
[PARENT]
[STATE_
DIC]
[TRANSLATION_
DIC]
any
State
cur
State
enter
State
exit
State
id
machine
name
store
[UPDATE]
add
State
add
Translation
chang
ToState
has
State
on
Enter
on
Exit
on
Update
remove
State
remove
Translation
update
Generated using
TypeDoc