示例#1
0
        // TL - recommend storing the current position in the maze as a property (_current_pos)

        public MazeSearch(Maze maze)   // TL - you might want to pass in the start position of the robot as well as the maze, then store it in _current_pos;
        {
            this._maze = maze;
        }
示例#2
0
 public MazeView(Maze maze, Position position)
 {
     _maze     = maze;
     _position = position;
 }