voces / mvp-bd-client

Bulldog on the browser
https://katma.io
1 stars 1 forks source link

Add concept of "pure" systems #47

Closed voces closed 3 years ago

voces commented 4 years ago

A pure system is a system that only cares about component presence, and thus would be more efficient to test entities against (since we can grab the entity's components, then only test against systems that care about said components).

Purity can be defined at two levels: has at least one component, has every component.