Entitas  0.40.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
Public Member Functions | Properties | Events | List of all members
Entitas.IEntity Interface Reference
Inheritance diagram for Entitas.IEntity:
Entitas.Entity

Public Member Functions

void Initialize (int creationIndex, int totalComponents, Stack< IComponent >[] componentPools, ContextInfo contextInfo=null)
 
void Reactivate (int creationIndex)
 
void AddComponent (int index, IComponent component)
 
void RemoveComponent (int index)
 
void ReplaceComponent (int index, IComponent component)
 
IComponent GetComponent (int index)
 
IComponent [] GetComponents ()
 
int [] GetComponentIndices ()
 
bool HasComponent (int index)
 
bool HasComponents (int[] indices)
 
bool HasAnyComponent (int[] indices)
 
void RemoveAllComponents ()
 
Stack< IComponentGetComponentPool (int index)
 
IComponent CreateComponent (int index, Type type)
 
CreateComponent< T > (int index)
 
void Retain (object owner)
 
void Release (object owner)
 
void Destroy ()
 
void RemoveAllOnEntityReleasedHandlers ()
 

Properties

int totalComponents [get]
 
int creationIndex [get]
 
bool isEnabled [get]
 
Stack< IComponent > [] componentPools [get]
 
ContextInfo contextInfo [get]
 
HashSet< object > owners [get]
 
int retainCount [get]
 

Events

EntityComponentChanged OnComponentAdded
 
EntityComponentChanged OnComponentRemoved
 
EntityComponentReplaced OnComponentReplaced
 
EntityReleased OnEntityReleased
 

Detailed Description

Definition at line 14 of file IEntity.cs.


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