Constructor
new System(component_names, priority)
- Source:
Parameters:
Name | Type | Default | Description |
---|---|---|---|
component_names |
Array.<String> | array of components an entity needs to have to be updated by this system |
|
priority |
Number |
0
|
optional priority, this decides the execution order of the systems |
Methods
update()
- Source:
Called by the entity component system