Om
1.0.0
A universal framework for multimedia simulation
|
A class that handles physics simulation for an entity component engine. More...
#include <omEnginePhysicsSystem.h>
Public Member Functions | |
PhysicsSystem () | |
Create a new default physics system. More... | |
virtual void | update (EngineContext &engine, const Time &dt) |
Update the state of the entities in the specified engine context for the given timestep. More... | |
virtual void | addComponent (const ResourceType &type, void *component, EngineContext &engine) |
Update the internal state of the system for a component that was added to the engine. More... | |
virtual void | removeComponent (const ResourceType &type, void *component, EngineContext &engine) |
Update the internal state of the system for a component that was removed from the engine. More... | |
virtual Shared< SceneContext > | newSceneContext () |
Create a new physics scene context. More... | |
Public Member Functions inherited from om::engine::base::EngineSystem | |
virtual | ~EngineSystem () |
Destroy a system and release all internal resources. More... | |
virtual void | addComponent (const ResourceType &type, void *component, EngineContext &engine) |
Update the internal state of the system for a component that was added to the engine. More... | |
virtual void | removeComponent (const ResourceType &type, void *component, EngineContext &engine) |
Update the internal state of the system for a component that was removed from the engine. More... | |
const SystemType & | getType () const |
Return an enum value indicating the semantic type of this engine system. More... | |
Public Member Functions inherited from om::engine::base::SceneContextFactory | |
virtual | ~SceneContextFactory () |
Destroy a scene context and release internal resources. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from om::engine::base::EngineSystem | |
EngineSystem () | |
Create a new engine system with the UNDEFINED system type. More... | |
EngineSystem (const SystemType &newSystemType) | |
Create a new engine system with the specified system type. More... | |
A class that handles physics simulation for an entity component engine.
om::engine::physics::PhysicsSystem::PhysicsSystem | ( | ) |
Create a new default physics system.
|
virtual |
Update the state of the entities in the specified engine context for the given timestep.
Reimplemented from om::engine::base::EngineSystem.
|
virtual |
Update the internal state of the system for a component that was added to the engine.
|
virtual |
Update the internal state of the system for a component that was removed from the engine.
|
virtual |
Create a new physics scene context.
Implements om::engine::base::SceneContextFactory.