Emergency 2017 Dokumentation  v3.0.1
em5::SpawnInhabitants Class Reference

Spawn inhabitants into the world. More...

#include <SpawnInhabitants.h>

Public Member Functions

 SpawnInhabitants ()
 Default constructor. More...
 
virtual ~SpawnInhabitants ()
 Destructor. More...
 
- Public Member Functions inherited from em5::SpawnEntities
 SpawnEntities (uint32 jobManagerId)
 Constructor. More...
 
virtual ~SpawnEntities ()
 Destructor. More...
 
void setDebug (bool debug)
 Enable/disable debug output. More...
 
virtual void createStartupPopulation ()
 

Protected Member Functions

virtual void updateSpawning () override
 
- Protected Member Functions inherited from em5::SpawnEntities
virtual uint32 getCurrentEntities ()
 
virtual uint32 getMaximumEntities ()
 
float getCurrentHourOfDay () const
 
const qsf::game::WeatherStategetCurrentWeatherState () const
 
void getStartupPopulationPoints (uint32 count, uint32 worldIndex, uint32 laneTypeId, std::vector< qsf::Transform > &outPoints)
 

Additional Inherited Members

- Protected Attributes inherited from em5::SpawnEntities
qsf::JobProxy mSpawnJobProxy
 Regular simulation job proxy. More...
 
qsf::DebugDrawProxy mDebugDrawProxy
 Debug draw proxy. More...
 
bool mDebugEnabled
 

Detailed Description

Spawn inhabitants into the world.

Note
  • Spawning can be enabled/disabled with the GameSettingsGroup's "SpawnCivilActive" property
Todo:
  • TODO(fw): Most probably this class should be replaced wth entries in the "em5::SpawnGroupManager"

Definition at line 36 of file SpawnInhabitants.h.

Constructor & Destructor Documentation

em5::SpawnInhabitants::SpawnInhabitants ( )

Default constructor.

virtual em5::SpawnInhabitants::~SpawnInhabitants ( )
virtual

Destructor.

Member Function Documentation

virtual void em5::SpawnInhabitants::updateSpawning ( )
overrideprotectedvirtual

Reimplemented from em5::SpawnEntities.


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