System

A system is what defines how entities behave or are rendered
new System( )

Properties

requiredComponents ARRAY []
active boolean true
_removalQueue ARRAY private []

Methods

boolean addEntity( )

Add a new Entity to the collection

entity Entity

boolean removeEntity( )

Remove an Entity from the collection

entity

safeRemoveEntity( )

Marks an Entity for removal at the end of the update or draw phase

entityID

clearRemovalQueue( )

Removes all Entity's in the removal queue