44 #ifndef __AIRLINE_TRANSITION_H__
45 #define __AIRLINE_TRANSITION_H__
54 using namespace Menge;
61 class ClearAABBCondFactory;
95 virtual bool conditionMet( Agents::BaseAgent * agent,
const BFSM::Goal * goal );
105 virtual BFSM::Condition * copy();
121 void setParams(
float xMin,
float xMax,
float yMin,
float yMax,
bool relative,
int agentClass);
154 const char *
name()
const {
return "clear_AABB"; }
164 return "The clear axis-aligned bounding box (AABB) condition. It becomes active when no agents are in a box "\
165 "defined in either an absolute position, or relative to the agent.";
199 virtual bool setFromXML( BFSM::Condition * condition, TiXmlElement * node,
const std::string & behaveFldr )
const;
204 #endif // __AIRCRAFT_ACTION_H__
const char * description() const
A description of the action.
Definition: AircraftTransition.h:163
ClearAABBCondition()
Constructor.
Definition: AircraftTransition.h:72
An action that sets agent properties based on the agent's position along the x-axis.
Definition: AircraftTransition.h:67
size_t _agentClass
The agent class this transition operates on. If -1, all agent classes are tested. ...
Definition: AircraftTransition.h:133
The namespace containing Menge elements required for simulating aircraft loading and unloading...
Definition: AircraftAction.cpp:47
Configures the shared library aspect of the includes.
bool _relative
Indicates whether the box is defined relative to the agent's position (true) or not (false)...
Definition: AircraftTransition.h:127
const char * name() const
The name of the action.
Definition: AircraftTransition.h:154
AABBShape _baseBox
The definition of the underlying AABB.
Definition: AircraftTransition.h:138
The factory for creating the ClearAABBCondition.
Definition: AircraftTransition.h:144
ClearAABBCondition * instance() const
Create an instance of this class's condition.
Definition: AircraftTransition.h:179