APhysicsEngine class
Apply physics behaviours to gameobjects.
Contents
Constructors, destructors, conversion operators
- 
              APhysicsEngine(const GraphicComponents::RWindowComponent& windowComponent, const RWorld& world, const float& cellHeight, const float& cellWidth) 
- Constructor.
- ~APhysicsEngine()
- Destructor.
Public functions
- void update(const float deltaTime)
- Carry-out frame wise physics update to world.
- void stopImpulses()
- Stops adding impulses and reverts those been added already to the scene.
- void setWorld(RWorld& world)
- Set the world being used to be used in update.
Function documentation
               Rubeus::
            Constructor.
| Parameters | |
|---|---|
| windowComponent | Window component currently in use. | 
| world | The world instantiated in this run. | 
| cellHeight | Cell height of collision grid. | 
| cellWidth | Cell width of collision grid. | 
              void Rubeus::
            Carry-out frame wise physics update to world.
| Parameters | |
|---|---|
| deltaTime | Time passed since last update. |