World:addSystem
Adds a System to the World.
Adds a System to the World.
Functions on the SystemClass are registered as event listeners. Entities already in the World are evaluated against the System’s Filters.
world = world:addSystem( systemClass )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
systemClass |
SystemClass | SystemClass of System to add |
Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
world |
World |