45 #ifndef __TELEPORT_ACTION_H__
46 #define __TELEPORT_ACTION_H__
63 class TeleportActFactory;
126 virtual const char *
name()
const {
return "teleport"; }
136 return "Causes the agent to teleport to a user-specified location based on a 2D generator";
150 Action * instance()
const;
170 virtual bool setFromXML(
Action * action, TiXmlElement * node,
const std::string & behaveFldr )
const;
181 #endif // __TELEPORT_ACTION_H__
virtual void leaveAction(Agents::BaseAgent *agent)
The work to do upon state exit.
Definition: TeleportAction.h:100
size_t _2DGoalID
The identifier for the "exit_reset" boolean attribute.
Definition: TeleportAction.h:175
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
Sets up the proper compiler directives for platform and dll export/import.
Factory for the TeleportAction.
Definition: TeleportAction.h:111
Vec2DGenerator * _goals
The generator for computing teleport destination locations.
Definition: TeleportAction.h:105
The definition of actions that are taken as agents enter states.
Causes the agents to teleport to a new location.
Definition: TeleportAction.h:71
Generic abstract class which generates a 2D vector float values.
Definition: RandGenerator.h:706
virtual const char * description() const
A description of the action.
Definition: TeleportAction.h:135
The factory for parsing xml data and instantiating actions.
virtual const char * name() const
The name of the action.
Definition: TeleportAction.h:126
The namespace contains the Behavior Finite State Machine (BFSM) definition.
The abstract definition of an action.
Definition: Action.h:78
Collection of convenient pre-compiler information for fsm definitions.
Defines the basic agent properties and functionality that all simulation agents share.
Definition: BaseAgent.h:123
A class for parsing the xml description of an action and instantiating particular instances...
Definition: ActionFactory.h:62
The namespace that contains the basic simulation mechanisms.