Class walle::AgentFactory
ClassList > walle > AgentFactory
Public Functions
| Type | Name |
|---|---|
| AStarAgent & | AddAStarAgent (const AStarAgentData & agent_data) |
| cse491::PacingAgent & | AddPacingAgent (const PacingAgentData & agent_data) |
| PathAgent & | AddPathAgent (const PathAgentData & agent_data) |
| TrackingAgent & | AddTrackingAgent (const TrackingAgentData & agent_data) |
| AgentFactory () = delete The world to create Agents in. |
|
| AgentFactory (cse491::WorldBase & world) |
Public Functions Documentation
function AddAStarAgent
AStarAgent & walle::AgentFactory::AddAStarAgent (
const AStarAgentData & agent_data
)
Add an AStarAgent to the world
Parameters:
agent_datadata for agent we want to create
Returns:
self
function AddPacingAgent
cse491::PacingAgent & walle::AgentFactory::AddPacingAgent (
const PacingAgentData & agent_data
)
Add a PacingAgent to the world
Parameters:
agent_datadata for agent we want to create
Returns:
self
function AddPathAgent
PathAgent & walle::AgentFactory::AddPathAgent (
const PathAgentData & agent_data
)
Add a PathAgent to the world
Parameters:
agent_datadata for agent we want to create
Returns:
self
function AddTrackingAgent
TrackingAgent & walle::AgentFactory::AddTrackingAgent (
const TrackingAgentData & agent_data
)
Add a TrackingAgent to the world
Parameters:
agent_datadata for agent we want to create
Returns:
self
function AgentFactory [1/2]
walle::AgentFactory::AgentFactory () = delete
function AgentFactory [2/2]
inline explicit walle::AgentFactory::AgentFactory (
cse491::WorldBase & world
)
Constructor for AgentFactory
Parameters:
worldwe are adding agents too
The documentation for this class was generated from the following file source/Agents/AgentFactory.hpp