Constructors
constructor
-
Parameters
-
-
Optional attributes: Attributes
Properties
enabled
enabled: boolean
Readonly priority
priority: number
queries
queries: {}
Type declaration
-
[queryName: string]: { added?: EntityType[]; changed?: EntityType[]; removed?: EntityType[]; results: EntityType[] }
-
Optional added?: EntityType[]
-
Optional changed?: EntityType[]
-
Optional removed?: EntityType[]
-
results: EntityType[]
world
Static isSystem
isSystem: true
Static queries
queries: SystemQueries
Methods
Abstract execute
- execute(delta: number, time: number): void
-
Parameters
-
delta: number
-
time: number
Returns void
init
- init(attributes?: Attributes): void
-
Parameters
-
Optional attributes: Attributes
Returns void
play
-
Returns void
stop
-
Returns void
Whether the system will execute during the world tick.