Emergency 20 Dokumentation  4.2.0
em5::EventSpreadHelper Class Reference

Static EMERGENCY 5 event spread helper class. More...

#include <EventSpreadHelper.h>

Inheritance diagram for em5::EventSpreadHelper:

Static Public Member Functions

static bool setEventIdComponent (FreeplayEvent *freeplayEvent, qsf::Entity &entity, eventspreadreason::Reason eventSpreadReason=eventspreadreason::NO_REASON)
 Set an event flag to the entity with an correct event reason. More...
 

Detailed Description

Static EMERGENCY 5 event spread helper class.

Member Function Documentation

static bool em5::EventSpreadHelper::setEventIdComponent ( FreeplayEvent freeplayEvent,
qsf::Entity entity,
eventspreadreason::Reason  eventSpreadReason = eventspreadreason::NO_REASON 
)
static

Set an event flag to the entity with an correct event reason.

Parameters
[in]freeplayEventIs the freeplay event that should apply on the entity, could be a null pointer
[in]entityThe entity that should receive the event ID [in] eventSpreadReason The event reason that should apply on the event ID component
Returns
"true" if the event ID is created and initialized now, "false" if the freeplay event ID was already set by another event

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