#include <Maze.hpp>
Public Member Functions | |
Maze (RoomPtr aPtr) | |
Default constructor starts with a room. | |
virtual | ~Maze (void) |
Virtual destructor. | |
bool | operator== (MazeCref) const |
Equality, compares start room pointers. | |
RoomCref | getStartLocation (void) const |
Get the starting room. | |
RoomCref | getCurrentLocation (void) const |
Get the current location. | |
void | walkInDirection (Direction) |
Change the location if possible. | |
Protected Member Functions | |
Maze (void) throw ( corelinux::Assertion ) | |
Default constructor not allowed. | |
Maze (MazeCref) throw ( corelinux::Assertion ) | |
Copy constructor not allowed. | |
MazeRef | operator= (MazeCref) throw ( corelinux::Assertion ) |
Assignment not allowed. | |
void | addRoom (RoomPtr) |
Add a room to the maze. | |
RoomMapRef | getRooms (void) |
Get a room to manipulate. |
You can move through the maze in various directions