Emergency 20 Dokumentation  4.2.0
em5::CarAccidentHelper Class Reference

EMERGENCY 5 car accident helper. More...

#include <CarAccidentHelper.h>

Public Member Functions

 CarAccidentHelper ()
 Constructor. More...
 

Static Public Member Functions

static qsf::EntityprepareAccidentCar (qsf::Entity &vehicleEntity, FreeplayEvent &freeplayEvent, bool startFire, bool replaceVehicle=true)
 
static qsf::EntityprepareAccidentCar (qsf::Entity &vehicleEntity, qsf::Layer &layer, FreeplayEvent &freeplayEvent, bool startFire, bool replaceVehicle=true)
 
static qsf::EntityreplaceVehicleEntity (qsf::Entity &vehicleEntity)
 
static std::string getUndamagedEntityName (qsf::Entity &damagedEntity)
 
static void getPersonEntitiesInVehicle (VehicleComponent &vehicleComponent, std::vector< qsf::Entity * > &entities)
 

Detailed Description

EMERGENCY 5 car accident helper.

Constructor & Destructor Documentation

em5::CarAccidentHelper::CarAccidentHelper ( )
inline

Constructor.

Member Function Documentation

static void em5::CarAccidentHelper::getPersonEntitiesInVehicle ( VehicleComponent vehicleComponent,
std::vector< qsf::Entity * > &  entities 
)
static
static std::string em5::CarAccidentHelper::getUndamagedEntityName ( qsf::Entity damagedEntity)
static
static qsf::Entity& em5::CarAccidentHelper::prepareAccidentCar ( qsf::Entity vehicleEntity,
FreeplayEvent freeplayEvent,
bool  startFire,
bool  replaceVehicle = true 
)
static
static qsf::Entity& em5::CarAccidentHelper::prepareAccidentCar ( qsf::Entity vehicleEntity,
qsf::Layer layer,
FreeplayEvent freeplayEvent,
bool  startFire,
bool  replaceVehicle = true 
)
static
static qsf::Entity& em5::CarAccidentHelper::replaceVehicleEntity ( qsf::Entity vehicleEntity)
static

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