43 #ifndef __FORMATIONS_MODIFIER_H__
44 #define __FORMATIONS_MODIFIER_H__
53 using namespace Menge;
59 #pragma warning(disable:4251)
68 class FormationModifierFactory;
99 BFSM::VelModifier* copy()
const;
107 void adaptPrefVelocity(
const Agents::BaseAgent * agent, Agents::PrefVelocity & pVel );
114 virtual BFSM::Task * getTask();
126 void registerAgent(
const Agents::BaseAgent * agent);
131 void unregisterAgent(
const Agents::BaseAgent * agent);
178 virtual const char *
name()
const {
return "formation"; }
188 return "Forces agents in this state or machine to move in formation";
222 virtual bool setFromXML( BFSM::VelModifier * modifier, TiXmlElement * node,
const std::string & behaveFldr )
const;