Komodo Engine
C PROJECT_LOGO=
|
Defines the interface for all Komodo.Core.ECS.Systems classes. More...
Public Member Functions | |
bool | AddEntity (Entity entityToAdd) |
Adds a Komodo.Core.ECS.Entities.Entity to the ISystem if the Komodo.Core.ECS.Entities.Entity is not already present. More... | |
void | ClearEntities () |
Removes all Komodo.Core.ECS.Entities.Entity objects from the ISystem. More... | |
void | Initialize () |
Should update the ISystem as well as all of it's T objects. More... | |
void | PostUpdate (GameTime gameTime) |
Runs any operations needed at the end of the Komodo.Core.Game.Update(GameTime) loop. More... | |
void | PreUpdate (GameTime gameTime) |
Runs any operations needed at the beginning of the Komodo.Core.Game.Update(GameTime) loop. More... | |
bool | RemoveEntity (Guid entityID) |
Removes a Komodo.Core.ECS.Entities.Entity from the ISystem, including all the Komodo.Core.ECS.Entities.Entity's T objects. More... | |
bool | RemoveEntity (Entity entityToRemove) |
Removes a Komodo.Core.ECS.Entities.Entity from the ISystem, including all the Komodo.Core.ECS.Entities.Entity's Komodo.Core.ECS.Components.Component objects. More... | |
Properties | |
List< T > | Components [get] |
All tracked T objects. More... | |
Dictionary< Guid, Entity > | Entities [get, set] |
All tracked Komodo.Core.ECS.Entities.Entity objects. More... | |
Game | Game [get] |
Reference to current Komodo.Core.Game instance. More... | |
bool | IsInitialized [get] |
Whether or not the ISystem has called Initialize(). More... | |
Defines the interface for all Komodo.Core.ECS.Systems classes.
T | : | Component |
bool Komodo.Core.ECS.Systems.ISystem< T >.AddEntity | ( | Entity | entityToAdd | ) |
Adds a Komodo.Core.ECS.Entities.Entity to the ISystem if the Komodo.Core.ECS.Entities.Entity is not already present.
entityToAdd | Komodo.Core.ECS.Entities.Entity to add. |
void Komodo.Core.ECS.Systems.ISystem< T >.ClearEntities | ( | ) |
Removes all Komodo.Core.ECS.Entities.Entity objects from the ISystem.
void Komodo.Core.ECS.Systems.ISystem< T >.Initialize | ( | ) |
Should update the ISystem as well as all of it's T objects.
void Komodo.Core.ECS.Systems.ISystem< T >.PostUpdate | ( | GameTime | gameTime | ) |
Runs any operations needed at the end of the Komodo.Core.Game.Update(GameTime) loop.
gameTime | Time passed since last Komodo.Core.Game.Update(GameTime). |
void Komodo.Core.ECS.Systems.ISystem< T >.PreUpdate | ( | GameTime | gameTime | ) |
Runs any operations needed at the beginning of the Komodo.Core.Game.Update(GameTime) loop.
gameTime | Time passed since last Komodo.Core.Game.Update(GameTime). |
bool Komodo.Core.ECS.Systems.ISystem< T >.RemoveEntity | ( | Entity | entityToRemove | ) |
Removes a Komodo.Core.ECS.Entities.Entity from the ISystem, including all the Komodo.Core.ECS.Entities.Entity's Komodo.Core.ECS.Components.Component objects.
entityToRemove | Komodo.Core.ECS.Entities.Entity to remove. |
bool Komodo.Core.ECS.Systems.ISystem< T >.RemoveEntity | ( | Guid | entityID | ) |
Removes a Komodo.Core.ECS.Entities.Entity from the ISystem, including all the Komodo.Core.ECS.Entities.Entity's T objects.
entityID | Unique identifier for the Komodo.Core.ECS.Entities.Entity. |
|
get |
All tracked T objects.
|
getset |
All tracked Komodo.Core.ECS.Entities.Entity objects.
|
get |
Reference to current Komodo.Core.Game instance.
|
get |
Whether or not the ISystem has called Initialize().