The Joe Engine
Joe's engine programming playground
JoeEngine::JEPhysicsManager Class Reference

The Physics Manager class. More...

#include <PhysicsManager.h>

Public Member Functions

 JEPhysicsManager ()
 Constructor. More...
 
 ~JEPhysicsManager ()=default
 Destructor (default). More...
 
void Initialize ()
 Initialize the class. More...
 
void UpdateParticleSystems (std::vector< JEParticleSystem > &particleSystems)
 Update particle systems. More...
 

Detailed Description

The Physics Manager class.

Class dedicated to making physics calculations at a framerate that is decoupled from the rendering framerate. Currently only used for particle system calculations.s

Constructor & Destructor Documentation

◆ JEPhysicsManager()

JoeEngine::JEPhysicsManager::JEPhysicsManager ( )
inline

Constructor.

Initializes update rate member variables.

◆ ~JEPhysicsManager()

JoeEngine::JEPhysicsManager::~JEPhysicsManager ( )
default

Destructor (default).

Member Function Documentation

◆ Initialize()

void JoeEngine::JEPhysicsManager::Initialize ( )

Initialize the class.

◆ UpdateParticleSystems()

void JoeEngine::JEPhysicsManager::UpdateParticleSystems ( std::vector< JEParticleSystem > &  particleSystems)

Update particle systems.

Performs an update on each provided particle system, if at least 'm_updateRateMillis' milliseconds have elapsed since the last update.

Parameters
particleSystemsthe list of particle systems to update.

The documentation for this class was generated from the following files: