![]() |
Entitas
0.35.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
|
Static Public Member Functions | |
static Entity [] | GetEntities (this Pool pool, IMatcher matcher) |
Returns all entities matching the specified matcher. | |
static ISystem | CreateSystem (this Pool pool, ISystem system) |
static ISystem | CreateSystem (this Pool pool, ISystem system, Pools pools) |
static ISystem | CreateSystem (this Pool pool, IReactiveExecuteSystem system) |
static ISystem | CreateSystem (this Pool pool, IReactiveExecuteSystem system, Pools pools) |
static ISystem | CreateSystem (this Pools pools, ISystem system) |
static ISystem | CreateSystem (this Pools pools, IReactiveExecuteSystem system) |
static ISystem | CreateSystem (this Pools pools, ISetPool system) |
static ISystem | CreateSystem (this Pools pools, IReactiveSystem system) |
static ISystem | CreateSystem (this Pools pools, IMultiReactiveSystem system) |
static void | SetPool (ISystem system, Pool pool) |
This will set the pool if ISetPool is implemented. | |
static void | SetPools (ISystem system, Pools pools) |
This will set the pools if ISetPools is implemented. | |
static EntityCollector | CreateEntityCollector (this Pool[] pools, IMatcher matcher, GroupEventType eventType=GroupEventType.OnEntityAdded) |
static Entity | CloneEntity (this Pool pool, Entity entity, bool replaceExisting=false, params int[] indices) |
Definition at line 29 of file PoolExtension.cs.
|
inlinestatic |
Creates a new entity and adds copies of all specified components to it. If replaceExisting is true it will replace exisintg components.
Definition at line 194 of file PoolExtension.cs.
|
inlinestatic |
Creates an EntityCollector which observes all specified pools. This is useful when you want to create an EntityCollector for multiple pools which can be used with IEntityCollectorSystem.
Definition at line 176 of file PoolExtension.cs.
This is the recommended way to create systems. It will inject the pool if ISetPool is implemented. It will inject the Pools.sharedInstance if ISetPools is implemented. It will automatically create a ReactiveSystem if it is a IReactiveSystem, IMultiReactiveSystem or IEntityCollectorSystem.
Definition at line 41 of file PoolExtension.cs.
|
inlinestatic |
This is the recommended way to create systems. It will inject the pool if ISetPool is implemented. It will inject the pools if ISetPools is implemented.
Definition at line 48 of file PoolExtension.cs.
|
inlinestatic |
This is the recommended way to create systems. It will inject the pool if ISetPool is implemented. It will inject the pools if ISetPools is implemented. It will automatically create a ReactiveSystem if it is a IReactiveSystem, IMultiReactiveSystem or IEntityCollectorSystem.
Definition at line 61 of file PoolExtension.cs.
|
inlinestatic |
This is the recommended way to create systems. It will inject the pool if ISetPool is implemented. It will inject the pools if ISetPools is implemented. It will automatically create a ReactiveSystem if it is a IReactiveSystem, IMultiReactiveSystem or IEntityCollectorSystem.
Definition at line 71 of file PoolExtension.cs.
This is the recommended way to create systems. It will inject the pools if ISetPools is implemented.
Definition at line 99 of file PoolExtension.cs.
|
inlinestatic |
This is the recommended way to create systems. It will inject the pools if ISetPools is implemented. It will automatically create a ReactiveSystem if it is a IEntityCollectorSystem.
Definition at line 108 of file PoolExtension.cs.