Emergency 20 Dokumentation  4.2.0
em5::GameSimulation Class Reference

EMERGENCY 5 game simulation class. More...

#include <GameSimulation.h>

Inheritance diagram for em5::GameSimulation:

Public Member Functions

 GameSimulation ()
 Default constructor. More...
 
virtual ~GameSimulation ()
 Destructor. More...
 
void startup ()
 Startup the game simulation instance. More...
 
void shutdown ()
 Shutdown the game simulation instance. More...
 
void updateClock (const qsf::Clock &baseClock)
 Update the game simulation clock. More...
 
const qsf::ClockgetClock () const
 Return the game simulation clock. More...
 
const SpawnPoolManagergetSpawnPoolManager () const
 Returns the global spawn pool manager instance; do not destroy. More...
 
SpawnGroupManagergetSpawnGroupManager () const
 Returns the global spawn group manager instance; do not destroy. More...
 
const UnitPoolManagergetUnitPoolManager () const
 Returns the global unit pool manager instance; do not destroy. More...
 
void updateAiLod ()
 Update AI navigation component update rates depending on entity type and visibility. More...
 

Detailed Description

EMERGENCY 5 game simulation class.

Constructor & Destructor Documentation

em5::GameSimulation::GameSimulation ( )

Default constructor.

virtual em5::GameSimulation::~GameSimulation ( )
virtual

Destructor.

Member Function Documentation

const qsf::Clock& em5::GameSimulation::getClock ( ) const

Return the game simulation clock.

SpawnGroupManager& em5::GameSimulation::getSpawnGroupManager ( ) const

Returns the global spawn group manager instance; do not destroy.

const SpawnPoolManager& em5::GameSimulation::getSpawnPoolManager ( ) const

Returns the global spawn pool manager instance; do not destroy.

const UnitPoolManager& em5::GameSimulation::getUnitPoolManager ( ) const

Returns the global unit pool manager instance; do not destroy.

void em5::GameSimulation::shutdown ( )

Shutdown the game simulation instance.

void em5::GameSimulation::startup ( )

Startup the game simulation instance.

void em5::GameSimulation::updateAiLod ( )

Update AI navigation component update rates depending on entity type and visibility.

Note
  • Don't call this method until you really know what you're doing
void em5::GameSimulation::updateClock ( const qsf::Clock baseClock)

Update the game simulation clock.

Parameters
[in]baseClockClock to take time progress from

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