Emergency 20 Dokumentation  4.2.0
em5::firesimulation::ComponentData Struct Reference

#include <FireSpreadCalculation.h>

Public Attributes

FireReceiverComponentmComponent
 Fire receiver component (or fire component) to which this data block belongs; note that this will be set to null pointer if the fire receiver gets deactivated. More...
 
bool mIsFireSender
 Indicates if the entity is emitting heat energy (it is burning) More...
 
bool mIsBurning
 Indicates of the entity is already burning. More...
 
bool mIsDestroyed
 
float mHardRadius
 The hard radius of the fire component (is zero for fire receiver) More...
 
float mSoftRadius
 The soft radius of the fire component (is zero for fire receiver) More...
 
float mFireEnergy
 The amount of fire energy which the component has. More...
 
glm::vec3 mPosition
 Position of the component, needed for getting the neighbours of a fire component, is optional (e.g. complex fire components have no position) More...
 
bool mHasPosition
 "true" if position of the component is set at all More...
 
float mCalculatedSpreadEnergy
 Calculated amount of fire energy a fire receiver gets from other entities. More...
 
bool mIsExploded
 Indicates if the entity exploded. More...
 
float mCoolingEnergy
 The amount of cooling energy which the component has currently applied. More...
 
ComponentData const * mSource
 Component data instance of the fire receiver component which caused the first fire energy delivery (may be nullptr) More...
 
float mFireResistance
 The resistance to fire energy. More...
 

Member Data Documentation

float em5::firesimulation::ComponentData::mCalculatedSpreadEnergy

Calculated amount of fire energy a fire receiver gets from other entities.

FireReceiverComponent* em5::firesimulation::ComponentData::mComponent

Fire receiver component (or fire component) to which this data block belongs; note that this will be set to null pointer if the fire receiver gets deactivated.

float em5::firesimulation::ComponentData::mCoolingEnergy

The amount of cooling energy which the component has currently applied.

float em5::firesimulation::ComponentData::mFireEnergy

The amount of fire energy which the component has.

float em5::firesimulation::ComponentData::mFireResistance

The resistance to fire energy.

float em5::firesimulation::ComponentData::mHardRadius

The hard radius of the fire component (is zero for fire receiver)

bool em5::firesimulation::ComponentData::mHasPosition

"true" if position of the component is set at all

bool em5::firesimulation::ComponentData::mIsBurning

Indicates of the entity is already burning.

bool em5::firesimulation::ComponentData::mIsDestroyed
bool em5::firesimulation::ComponentData::mIsExploded

Indicates if the entity exploded.

bool em5::firesimulation::ComponentData::mIsFireSender

Indicates if the entity is emitting heat energy (it is burning)

glm::vec3 em5::firesimulation::ComponentData::mPosition

Position of the component, needed for getting the neighbours of a fire component, is optional (e.g. complex fire components have no position)

float em5::firesimulation::ComponentData::mSoftRadius

The soft radius of the fire component (is zero for fire receiver)

ComponentData const* em5::firesimulation::ComponentData::mSource

Component data instance of the fire receiver component which caused the first fire energy delivery (may be nullptr)


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