sim-ecs - v0.6.5
Preparing search index...
ITransitionActions
Interface ITransitionActions
interface
ITransitionActions
{
commands
:
Readonly
<
ICommands
>
;
currentState
:
undefined
|
Readonly
<
IState
>
;
eventBus
:
Readonly
<
IEventBus
>
;
flushCommands
()
:
Promise
<
void
>
;
getEntities
(
query
?:
Readonly
<
IEntitiesQuery
>
,
)
:
IterableIterator
<
IReadOnlyEntity
>
;
getResource
<
T
extends
object
>
(
type
:
TTypeProto
<
T
>
)
:
T
;
hasResource
<
T
extends
object
>
(
type
:
Readonly
<
T
>
|
TTypeProto
<
T
>
)
:
boolean
;
popState
()
:
Promise
<
void
>
;
pushState
(
NewState
:
Readonly
<
IIStateProto
>
)
:
Promise
<
void
>
;
save
(
options
?:
Readonly
<
ISerDeOptions
<
TSerializer
>
>
)
:
ISerialFormat
;
}
Hierarchy (
View Summary
)
ISystemActions
ITransitionActions
Index
Properties
commands
current
State
event
Bus
Methods
flush
Commands
get
Entities
get
Resource
has
Resource
pop
State
push
State
save
Properties
commands
commands
:
Readonly
<
ICommands
>
current
State
currentState
:
undefined
|
Readonly
<
IState
>
event
Bus
eventBus
:
Readonly
<
IEventBus
>
Methods
flush
Commands
flushCommands
()
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Entities
getEntities
(
query
?:
Readonly
<
IEntitiesQuery
>
)
:
IterableIterator
<
IReadOnlyEntity
>
Parameters
Optional
query
:
Readonly
<
IEntitiesQuery
>
Returns
IterableIterator
<
IReadOnlyEntity
>
get
Resource
getResource
<
T
extends
object
>
(
type
:
TTypeProto
<
T
>
)
:
T
Type Parameters
T
extends
object
Parameters
type
:
TTypeProto
<
T
>
Returns
T
has
Resource
hasResource
<
T
extends
object
>
(
type
:
Readonly
<
T
>
|
TTypeProto
<
T
>
)
:
boolean
Type Parameters
T
extends
object
Parameters
type
:
Readonly
<
T
>
|
TTypeProto
<
T
>
Returns
boolean
pop
State
popState
()
:
Promise
<
void
>
Returns
Promise
<
void
>
push
State
pushState
(
NewState
:
Readonly
<
IIStateProto
>
)
:
Promise
<
void
>
Parameters
NewState
:
Readonly
<
IIStateProto
>
Returns
Promise
<
void
>
save
save
(
options
?:
Readonly
<
ISerDeOptions
<
TSerializer
>
>
)
:
ISerialFormat
Parameters
Optional
options
:
Readonly
<
ISerDeOptions
<
TSerializer
>
>
Returns
ISerialFormat
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
commands
current
State
event
Bus
Methods
flush
Commands
get
Entities
get
Resource
has
Resource
pop
State
push
State
save
sim-ecs - v0.6.5
Loading...