-
-
Notifications
You must be signed in to change notification settings - Fork 13
Concepts
Jeff Campbell edited this page Jan 13, 2021
·
5 revisions
This section covers key concepts of EntitasRedux and their practical applications.
-
Contexts A
Contextmanages the lifecycle of entities and groups and maintains pools of components. -
Components A
Componentis a unit-of-data that can be added to, removed from, or replaced on anEntity. -
Entities An
Entityis an distinct, simple object defined by a unique identifier and zero or moreComponents. AnEntityis always created from aContext. -
Systems A
Systemimplements behavior for zero or moreEntitiesin aContext. Different interface types for systems enable them to be executed at specific interval rates (Update, Fixed Update, etc...) or in reaction to changes in components on an entity. -
Groups A
Groupcontains a collection of entities to track defined by an simple query syntax from aMatcher. -
Entity Indexes An
EntityIndexenables a group where one or more entities can be searched for by way of an index value or key. APrimaryEntityIndexenables grouping where only oneEntitycan be associated with a distinct index value or key.