Skip to content

Struct walle::AStarAgentData

ClassList > walle > AStarAgentData

More...

  • #include <AgentFactory.hpp>

Inherits the following classes: walle::BaseAgentData

Public Attributes

Type Name
cse491::GridPosition goal_pos
The final position in the world that the AStarAgent is travelling to.
int recalculate_after_x_turns = = 5
Number of steps after which the shortest path is recalculated.

Public Attributes inherited from walle::BaseAgentData

See walle::BaseAgentData

Type Name
std::string name
Name of the agent.
cse491::GridPosition position
Agent's position.
char symbol = = '*'
Agent's representation.

Detailed Description

Stores data for an AStarAgent

Public Attributes Documentation

variable goal_pos

cse491::GridPosition goal_pos;

variable recalculate_after_x_turns

int recalculate_after_x_turns;

The documentation for this class was generated from the following file source/Agents/AgentFactory.hpp