#include <RobotMaze.h>

Public Member Functions | |
| RobotMaze () | |
| RobotMaze (list< RobotMazeCell * > *maze, int commandLimit, Point start, Point end, int direction) | |
| virtual | ~RobotMaze () |
| RobotMazeCell * | getCell (Point location) |
| Given an x and y index, return the cell. | |
| int | getSize () |
| list< RobotMazeCell * > * | getMaze () |
| int | getCommandLimit () |
| Point | getMazeEnd () |
| Get the point representing the end of the maze. | |
| Point | getMazeStart () |
| Get the point representing the start of the maze. | |
| int | getRobotStartDirection () |
| Returns the start direction of the robot. | |
Private Attributes | |
| list< RobotMazeCell * > * | Maze |
| This is the information about each cell. | |
| int | Size |
| The height and width of the maze. | |
| int | CommandLimit |
| The maximum number of commands that can be used for the maze. | |
| int | StartDirection |
| The start direction of the robot. | |
| Point | Start |
| The start location of the robot. | |
| Point | End |
| The destination of the robot in the maze. | |
Created on: Dec 1, 2008 Author: Erik
This class holds the information associated with a Robot Maze. It holds the cell information, how big it is, and any constraints.
| RobotMaze::RobotMaze | ( | ) | [inline] |
| RobotMaze::RobotMaze | ( | list< RobotMazeCell * > * | maze, | |
| int | commandLimit, | |||
| Point | start, | |||
| Point | end, | |||
| int | direction | |||
| ) |
| RobotMaze::~RobotMaze | ( | ) | [virtual] |
| RobotMazeCell * RobotMaze::getCell | ( | Point | location | ) |
Given an x and y index, return the cell.
| int RobotMaze::getCommandLimit | ( | ) | [inline] |
| list<RobotMazeCell*>* RobotMaze::getMaze | ( | ) | [inline] |
| Point RobotMaze::getMazeEnd | ( | ) | [inline] |
Get the point representing the end of the maze.
| Point RobotMaze::getMazeStart | ( | ) | [inline] |
Get the point representing the start of the maze.
| int RobotMaze::getRobotStartDirection | ( | ) | [inline] |
Returns the start direction of the robot.
| int RobotMaze::getSize | ( | ) | [inline] |
int RobotMaze::CommandLimit [private] |
The maximum number of commands that can be used for the maze.
Point RobotMaze::End [private] |
The destination of the robot in the maze.
list<RobotMazeCell*>* RobotMaze::Maze [private] |
This is the information about each cell.
int RobotMaze::Size [private] |
The height and width of the maze.
Point RobotMaze::Start [private] |
The start location of the robot.
int RobotMaze::StartDirection [private] |
The start direction of the robot.
1.5.7.1