Preparing search index...
The search index is not available
sim-ecs - v0.6.4
sim-ecs
Query
Class Query<DESC, DATA>
Abstract
Type Parameters
DESC
DATA
Hierarchy
Query
Implements
IQuery
<
DESC
,
DATA
>
Index
Constructors
constructor
Accessors
descriptor
query
Type
result
Length
Methods
execute
get
First
iter
matches
Entity
to
Array
Constructors
constructor
new
Query
<
DESC
,
DATA
>
(
_queryType
,
queryDescriptor
)
:
Query
<
DESC
,
DATA
>
Type Parameters
DESC
DATA
Parameters
_queryType
:
EQueryType
queryDescriptor
:
Readonly
<
DESC
>
Returns
Query
<
DESC
,
DATA
>
Accessors
descriptor
get
descriptor
(
)
:
Readonly
<
DESC
>
Returns
Readonly
<
DESC
>
query
Type
get
queryType
(
)
:
EQueryType
Returns
EQueryType
result
Length
get
resultLength
(
)
:
number
Returns
number
Methods
execute
execute
(
handler
)
:
Promise
<
void
>
Parameters
handler
:
(
(
data
)
=>
void
|
Promise
<
void
>
)
(
data
)
:
void
|
Promise
<
void
>
Parameters
data
:
DATA
Returns
void
|
Promise
<
void
>
Returns
Promise
<
void
>
get
First
get
First
(
)
:
undefined
|
DATA
Returns
undefined
|
DATA
iter
iter
(
)
:
IterableIterator
<
DATA
>
Returns
IterableIterator
<
DATA
>
Abstract
matches
Entity
matches
Entity
(
entity
)
:
boolean
Parameters
entity
:
Readonly
<
IEntity
>
Returns
boolean
to
Array
to
Array
(
)
:
DATA
[]
Returns
DATA
[]
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
descriptor
query
Type
result
Length
execute
get
First
iter
matches
Entity
to
Array
sim-ecs - v0.6.4
EAccess
EExistence
EQueryType
ETargetType
Entity
EntityAdded
EntityBuilder
EntityRemoved
EventBus
Pipeline
PreptimeWorld
PushDownAutomaton
Query
RuntimeWorld
Scheduler
SerDe
SerialFormat
SimECSPushDownAutomaton
Stage
State
SyncPoint
Loading...
Generated using
TypeDoc