Entitas  0.35.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
Entitas.AbstractEntityIndex< T > Class Template Referenceabstract
Inheritance diagram for Entitas.AbstractEntityIndex< T >:
Entitas.IEntityIndex Entitas.EntityIndex< T > Entitas.PrimaryEntityIndex< T >

Public Member Functions

virtual void Activate ()
 
virtual void Deactivate ()
 

Protected Member Functions

 AbstractEntityIndex (Group group, Func< Entity, IComponent, T > getKey)
 
void indexEntities (Group group)
 
void onEntityAdded (Group group, Entity entity, int index, IComponent component)
 
void onEntityRemoved (Group group, Entity entity, int index, IComponent component)
 
abstract void addEntity (Entity entity, IComponent component)
 
abstract void removeEntity (Entity entity, IComponent component)
 
abstract void clear ()
 

Protected Attributes

readonly Group _group
 
readonly Func< Entity, IComponent, T > _getKey
 

Detailed Description

Definition at line 11 of file EntityIndex.cs.


The documentation for this class was generated from the following file: