Emergency 20 Dokumentation  4.2.0
em5::FireHelper Class Reference

EMERGENCY 5 static fire helper class. More...

#include <FireHelper.h>

Static Public Member Functions

static float getAutomatismDistanceFromCaller (qsf::Entity &callerEntity)
 
static qsf::EntitygetConnectedHydrantFromEntity (const qsf::Entity &firemanEntity)
 
static const qsf::EntityfindFreeHydrantNearEntity (qsf::Entity &firemanEntity, qsf::Entity &targetEntity, bool &foundAtLeastOneInRange)
 
static bool isHydrantInRange (const qsf::Entity &hydrantEntity, const glm::vec3 &position, float radius)
 
static bool isHydrantInRange (const qsf::Entity &hydrantEntity, const qsf::Entity &targetEntity, float radius)
 
static void getExtinguishTargets (std::vector< qsf::Entity * > &outTargets, qsf::Entity &targetEntity, qsf::Entity &firefightingUnit)
 
static void getSortedTargetsInRange (std::vector< FireComponent * > &outTargets, qsf::Entity &callerEntity, float range)
 
static qsf::EntitygetAnyEffectTarget (qsf::Entity &callerEntity, qsf::Entity &targetEntity)
 
static qsf::EntitygetEffectTargetInRange (qsf::Entity &callerEntity, qsf::Entity &targetEntity, float maxExtinguishRange)
 
static bool isTargetInExtinguishRange (qsf::Entity &targetEntity, const glm::vec3 &callerPosition, float maxExtinguishRange)
 
static float getExtinguishRangeFromEntity (qsf::Entity &callerEntity)
 
static float getHardRadius (qsf::Entity &callerEntity)
 

Detailed Description

EMERGENCY 5 static fire helper class.

Member Function Documentation

static const qsf::Entity* em5::FireHelper::findFreeHydrantNearEntity ( qsf::Entity firemanEntity,
qsf::Entity targetEntity,
bool &  foundAtLeastOneInRange 
)
static
static qsf::Entity* em5::FireHelper::getAnyEffectTarget ( qsf::Entity callerEntity,
qsf::Entity targetEntity 
)
static
static float em5::FireHelper::getAutomatismDistanceFromCaller ( qsf::Entity callerEntity)
static
static qsf::Entity* em5::FireHelper::getConnectedHydrantFromEntity ( const qsf::Entity firemanEntity)
static
static qsf::Entity* em5::FireHelper::getEffectTargetInRange ( qsf::Entity callerEntity,
qsf::Entity targetEntity,
float  maxExtinguishRange 
)
static
static float em5::FireHelper::getExtinguishRangeFromEntity ( qsf::Entity callerEntity)
static
static void em5::FireHelper::getExtinguishTargets ( std::vector< qsf::Entity * > &  outTargets,
qsf::Entity targetEntity,
qsf::Entity firefightingUnit 
)
static
static float em5::FireHelper::getHardRadius ( qsf::Entity callerEntity)
static
static void em5::FireHelper::getSortedTargetsInRange ( std::vector< FireComponent * > &  outTargets,
qsf::Entity callerEntity,
float  range 
)
static
static bool em5::FireHelper::isHydrantInRange ( const qsf::Entity hydrantEntity,
const glm::vec3 &  position,
float  radius 
)
static
static bool em5::FireHelper::isHydrantInRange ( const qsf::Entity hydrantEntity,
const qsf::Entity targetEntity,
float  radius 
)
static
static bool em5::FireHelper::isTargetInExtinguishRange ( qsf::Entity targetEntity,
const glm::vec3 &  callerPosition,
float  maxExtinguishRange 
)
static

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