Komodo Engine
C PROJECT_LOGO=
|
Manages all Komodo.Core.ECS.Components.PhysicsComponent objects. More...
Properties | |
List< PhysicsComponent > | Components [get] |
All tracked Komodo.Core.ECS.Components.PhysicsComponent 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 PhysicsSystem has called Initialize(). More... | |
Properties inherited from Komodo.Core.ECS.Systems.ISystem< PhysicsComponent > | |
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... | |
Manages all Komodo.Core.ECS.Components.PhysicsComponent objects.
bool Komodo.Core.ECS.Systems.PhysicsSystem.AddEntity | ( | [NotNull] Entity | entityToAdd | ) |
Adds a Komodo.Core.ECS.Entities.Entity to the PhysicsSystem if the Komodo.Core.ECS.Entities.Entity is not already present.
entityToAdd | Komodo.Core.ECS.Entities.Entity to add. |
void Komodo.Core.ECS.Systems.PhysicsSystem.ClearEntities | ( | ) |
Removes all Komodo.Core.ECS.Entities.Entity objects from the PhysicsSystem.
void Komodo.Core.ECS.Systems.PhysicsSystem.Initialize | ( | ) |
Initializes the PhysicsSystem and all tracked Komodo.Core.ECS.Components.PhysicsComponent objects.
void Komodo.Core.ECS.Systems.PhysicsSystem.PostUpdate | ( | GameTime | _ | ) |
Runs any operations needed at the end of the Komodo.Core.Game.Update(GameTime) loop.
Will initialize any new uninitialized Komodo.Core.ECS.Components.PhysicsComponent objects.
_ | Time passed since last Komodo.Core.Game.Update(GameTime). |
void Komodo.Core.ECS.Systems.PhysicsSystem.PreUpdate | ( | GameTime | _ | ) |
Runs any operations needed at the beginning of the Komodo.Core.Game.Update(GameTime) loop.
Will initialize any new uninitialized Komodo.Core.ECS.Components.PhysicsComponent objects.
_ | Time passed since last Komodo.Core.Game.Update(GameTime). |
bool Komodo.Core.ECS.Systems.PhysicsSystem.RemoveEntity | ( | Entity | entityToRemove | ) |
Removes a Komodo.Core.ECS.Entities.Entity from the PhysicsSystem, including all the Komodo.Core.ECS.Entities.Entity's Komodo.Core.ECS.Components.PhysicsComponent objects.
entityToRemove | Komodo.Core.ECS.Entities.Entity to remove. |
bool Komodo.Core.ECS.Systems.PhysicsSystem.RemoveEntity | ( | Guid | entityID | ) |
Removes a Komodo.Core.ECS.Entities.Entity from the PhysicsSystem, including all the Komodo.Core.ECS.Entities.Entity's Komodo.Core.ECS.Components.PhysicsComponent objects.
entityID | Unique identifier for the Komodo.Core.ECS.Entities.Entity. |
|
get |
All tracked Komodo.Core.ECS.Components.PhysicsComponent objects.
|
getset |
All tracked Komodo.Core.ECS.Entities.Entity objects.
|
get |
Reference to current Komodo.Core.Game instance.
|
get |
Whether or not the PhysicsSystem has called Initialize().