/************************* * CONSTRUCTOR(S) *************************/ /* * ManualAgent constructor sets a passed instance of an intermediate class as the source of everything the agent will * know of the maze/graph it is traversing and the destination for all of the agent's movement instructions. */ public ManualAgent(Intermediate intermediate) { //System.Console.WriteLine("\nIn ManualAgent()"); this._intermediate = intermediate; _graphBuilder = new GraphBuilder(); //System.Console.WriteLine("Leaving ManualAgent()"); }
/************************* * CONSTRUCTOR(S) *************************/ /* * AutonomousAgent constructor sets a passed instance of an intermediate class as the source of everything the agent will * know of the maze/graph it is traversing and the destination for all of the agent's movement instructions. */ public AutonomousAgent(Intermediate intermediate) { //System.Console.WriteLine("\nIn AutonomousAgent()"); this._intermediate = intermediate; _graphBuilder = new GraphBuilder(); _pathFromStartToCurrentPosition = new List<string>(); //System.Console.WriteLine("Leaving AutonomousAgent()"); }