Class System
Derive this class to encapsulate a game System that operates on Resources and Components in the World.
Constructors
Name | Description |
this
(world, name)
|
Initialize a System given the ECS World and, optionally, a name.
|
Methods
Name | Description |
from
()
|
Dynamically generate a new System instance given a function.
|
query
()
|
Query the World for Entities containing Components of the given types.
|
run
()
|
Operate this System on Resources and Components in the World .
|