Emergency 20 Dokumentation  4.2.0
em5::FireEventCandidateSearchHelper Class Reference

EMERGENCY 5 fire event candidate search helper. More...

#include <FireEventCandidateSearchHelper.h>

Public Types

typedef std::vector< std::string > EventTagStringArray
 
typedef const std::vector< qsf::game::EventTagComponent * > * EventTagComponentArray
 
typedef std::vector< EventTagComponentArrayEventTagComponentArrayArray
 

Public Member Functions

 FireEventCandidateSearchHelper ()
 Default constructor. More...
 
virtual ~FireEventCandidateSearchHelper ()
 Destructor. More...
 
void setDifficultyTagsByString (const std::string &eventTags)
 
bool hasDifficultyTag (const qsf::game::EventTagComponent &eventTagComponent) const
 Checks if the given EventTagComponent has one of the previously set event tags. More...
 
bool hasDifficultyTag (const qsf::Entity &entity) const
 
qsf::game::EventTagManagerComponentgetEventTagManager ()
 Gives a reference to the event tag manager. More...
 
qsf::game::EventTagComponentgetRandomEventTagComonent () const
 Gives a reference to the event tag manager. More...
 

Detailed Description

EMERGENCY 5 fire event candidate search helper.

Member Typedef Documentation

Constructor & Destructor Documentation

em5::FireEventCandidateSearchHelper::FireEventCandidateSearchHelper ( )

Default constructor.

virtual em5::FireEventCandidateSearchHelper::~FireEventCandidateSearchHelper ( )
virtual

Destructor.

Member Function Documentation

qsf::game::EventTagManagerComponent& em5::FireEventCandidateSearchHelper::getEventTagManager ( )

Gives a reference to the event tag manager.

qsf::game::EventTagComponent* em5::FireEventCandidateSearchHelper::getRandomEventTagComonent ( ) const

Gives a reference to the event tag manager.

bool em5::FireEventCandidateSearchHelper::hasDifficultyTag ( const qsf::game::EventTagComponent eventTagComponent) const

Checks if the given EventTagComponent has one of the previously set event tags.

bool em5::FireEventCandidateSearchHelper::hasDifficultyTag ( const qsf::Entity entity) const
void em5::FireEventCandidateSearchHelper::setDifficultyTagsByString ( const std::string &  eventTags)

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