44 #ifndef __GOAL_SELECTOR_FARTHEST_NM_H__
45 #define __GOAL_SELECTOR_FARTHEST_NM_H__
145 virtual const char *
name()
const {
return "farthest_nav_mesh"; }
155 return "A goal selector. Assigns the agent the goal in the given " \
156 "goal set that is *farthest* from the agent based on shortest paths " \
157 "through the navigation mesh.";
180 virtual bool setFromXML(
GoalSelector * selector, TiXmlElement * node,
const std::string & behaveFldr )
const;
190 #endif // __GOAL_SELECTOR_FARTHEST_NM_H__
The farthest nav mesh goal selector selects the goal from a goal set that is farthest to the agent in...
Definition: GoalSelectorFarthestNM.h:61
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.
Data structure responsible for knowing where on the navigation mesh each agent is located...
NavMeshPtr getNavMesh()
Returns a resource pointer to the underlying navigation mesh.
Definition: GoalSelectorFarthestNM.h:98
The base, abstract class defining goals.
Definition: Goal.h:110
This is a base class – not to be instantiated. It provides the functional basis for GoalSelectors wh...
Definition: GoalSelectorSet.h:62
virtual const char * name() const
The name of the goal selector type.
Definition: GoalSelectorFarthestNM.h:145
NavMeshPtr _navMesh
The navigation mesh.
Definition: GoalSelectorFarthestNM.h:118
GoalSelector * instance() const
Create an instance of this class's goal selector.
Definition: GoalSelectorFarthestNM.h:166
NavMeshLocalizerPtr _localizer
The localizer for the navigation mesh.
Definition: GoalSelectorFarthestNM.h:123
NavMeshLocalizerPtr getLocalizer()
Returns a resource pointer to the underlying navigation mesh localizer.
Definition: GoalSelectorFarthestNM.h:105
void setNavMeshLocalizer(const NavMeshLocalizerPtr &nml)
Sets the navigation mesh localizer pointer.
Definition: GoalSelectorFarthestNM.h:112
virtual const char * description() const
A description of the goal selector.
Definition: GoalSelectorFarthestNM.h:154
The namespace contains the Behavior Finite State Machine (BFSM) definition.
void setNavMesh(const NavMeshPtr &nm)
Sets the navigation mesh pointer.
Definition: GoalSelectorFarthestNM.h:91
Collection of convenient pre-compiler information for fsm definitions.
Interface for basic FSM task.
Definition: Task.h:110
Defines the basic agent properties and functionality that all simulation agents share.
Definition: BaseAgent.h:123
The base, abstract class for selecting per-agent goals.
Definition: GoalSelector.h:113
The definition of the base class for handling goal selectors which operate on single goal sets...
Factory for the FarthestNMGoalSelector.
Definition: GoalSelectorFarthestNM.h:130
Defines the classes which maintain the navigation mesh data.
size_t _fileNameID
The identifier for the "file_name" string attribute.
Definition: GoalSelectorFarthestNM.h:185
Factory for the SetGoalSelector.
Definition: GoalSelectorSet.h:121