Emergency 20 Dokumentation  4.2.0
em5::CivilianReactionTalkTo Class Reference

#include <CivilianReactions.h>

Inheritance diagram for em5::CivilianReactionTalkTo:

Public Member Functions

 CivilianReactionTalkTo ()
virtual bool handle (const qsf::ai::EvaluationParameters &parameters, const qsf::ai::PerceptionEvent *event)
void cancel (const qsf::ai::EvaluationParameters &parameters)
- 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::CivilianReactionTalkTo::CivilianReactionTalkTo ( )

Member Function Documentation

void em5::CivilianReactionTalkTo::cancel ( const qsf::ai::EvaluationParameters parameters)
virtual bool em5::CivilianReactionTalkTo::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: