Reference

Maze(3)

Maze is a collection of rooms connected by doors.

NAME

Maze - Maze is a collection of rooms connected by doors.

SYNOPSIS

#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.

Friends

class MazeBuilder

Detailed Description

Maze is a collection of rooms connected by doors.

You can move through the maze in various directions

Author

Generated automatically by Doxygen for CoreLinux++ from the source code.

History