Emergency 20 Dokumentation  4.2.0
em5::CivilianReactionStopAndPhone Class Reference

#include <CivilianReactions.h>

Inheritance diagram for em5::CivilianReactionStopAndPhone:
qsf::ai::Reaction

Public Member Functions

 CivilianReactionStopAndPhone ()
 
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::CivilianReactionStopAndPhone::CivilianReactionStopAndPhone ( )

Member Function Documentation

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

Implements qsf::ai::Reaction.


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