Emergency 20 Dokumentation  4.2.0
em5::CivilianReactionUmbrella Class Reference

#include <CivilianReactions.h>

Inheritance diagram for em5::CivilianReactionUmbrella:

Public Member Functions

 CivilianReactionUmbrella ()
virtual bool handle (const qsf::ai::EvaluationParameters &parameters, const qsf::ai::PerceptionEvent *event)
- Public Member Functions inherited from qsf::ai::Reaction
 Reaction ()
virtual ~Reaction ()
virtual Reactionclone () const =0
virtual const char * getRegistrationName () const =0
virtual void serialize (BinarySerializer &serializer)
virtual void deserialize (const boost::property_tree::ptree &tree)
virtual void serialize (boost::property_tree::ptree &tree) const
const std::string & getName () const
uint32 getId () const
float getProbability () const
void setProbability (float probability)

Additional Inherited Members

- Static Public Member Functions inherited from qsf::ai::Reaction
static bool compareByProbability (const Reaction *a, const Reaction *b)
- Protected Attributes inherited from qsf::ai::Reaction
float mProbability

Constructor & Destructor Documentation

em5::CivilianReactionUmbrella::CivilianReactionUmbrella ( )

Member Function Documentation

virtual bool em5::CivilianReactionUmbrella::handle ( const qsf::ai::EvaluationParameters parameters,
const qsf::ai::PerceptionEvent event 

Implements qsf::ai::Reaction.

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