Emergency 20 Dokumentation  4.2.0
em5::EventSpreading Class Reference

Static EMERGENCY 5 event spreading logic class. More...

#include <EventSpreading.h>

Inheritance diagram for em5::EventSpreading:

Static Public Member Functions

static bool eventSpreadReaction (FreeplayEvent &freeplayEvent, qsf::Entity &targetEntity, eventspreadreason::Reason eventSpreadReason, bool newReason=true)
 Create generic objectives and observers at event spreading. More...
 
static void startFireReaction (qsf::Entity &fireEntity)
 Reaction to an object being set on fire. More...
 
static void stopFireReaction (qsf::Entity &fireEntity, bool destroyed)
 Reaction to an object fire going out. More...
 
static void enterContainerReaction (qsf::Entity &entity, qsf::Entity &containerEntity, uint32 containerCategory)
 
static void leaveContainerReaction (qsf::Entity &entity, qsf::Entity &containerEntity, uint32 containerCategory)
 
static void bombExplosionReaction (qsf::Entity &entity)
 

Detailed Description

Static EMERGENCY 5 event spreading logic class.

Member Function Documentation

static void em5::EventSpreading::bombExplosionReaction ( qsf::Entity entity)
static
static void em5::EventSpreading::enterContainerReaction ( qsf::Entity entity,
qsf::Entity containerEntity,
uint32  containerCategory 
)
static
static bool em5::EventSpreading::eventSpreadReaction ( FreeplayEvent freeplayEvent,
qsf::Entity targetEntity,
eventspreadreason::Reason  eventSpreadReason,
bool  newReason = true 
)
static

Create generic objectives and observers at event spreading.

static void em5::EventSpreading::leaveContainerReaction ( qsf::Entity entity,
qsf::Entity containerEntity,
uint32  containerCategory 
)
static
static void em5::EventSpreading::startFireReaction ( qsf::Entity fireEntity)
static

Reaction to an object being set on fire.

static void em5::EventSpreading::stopFireReaction ( qsf::Entity fireEntity,
bool  destroyed 
)
static

Reaction to an object fire going out.


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