GraphicsSystem
Hierarchy
- System
- GraphicsSystem
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Parameters
world: World
Returns GraphicsSystem
Properties
publicpriority
System can execute in priority order, by default all systems are priority 0. Lower values indicated higher priority. For a system to execute before all other a lower priority value (-1 for example) must be set. For a system to execute after all other a higher priority value (10 for example) must be set.
query
publicreadonlysystemType
Determine whether the system is called in the [[SystemType.Update]] or the [[SystemType.Draw]] phase. Update is first, then Draw.
publicworld
Accessors
publicsortedTransforms
Returns TransformComponent[]
Methods
publicinitialize
optionalpostupdate
Optionally run a postupdate after the system processes matching entities
Parameters
scene: Scene<unknown>
elapsedMs: number
Time in milliseconds since the last frame
Returns void
publicpreupdate
Optionally run a preupdate before the system processes matching entities
Returns void
publicupdate
Update all entities that match this system's types
Parameters
delta: number
Time in milliseconds
Returns void
An Excalibur [[System]] that updates entities of certain types. Systems are scene specific
Excalibur Systems currently require at least 1 Component type to operated
Multiple types are declared as a type union For example: