RobotMazeCell Class Reference
[Maze minigame]

#include <RobotMazeCell.h>

List of all members.

Public Member Functions

 RobotMazeCell (RobotMazeObstacle obstacle, BITMAP *ground, bool eastWall, bool southWall)
virtual ~RobotMazeCell ()
bool hasEastWall ()
bool hasSouthWall ()
RobotMazeObstacle getObstacle ()
 Returns the obstacle at this cell.
BITMAP * getGround ()
 Returns the bitmap of the ground.

Private Attributes

bool EastWall
 Outside walls are assumed, so only the inside walls need to be remembered.
bool SouthWall
RobotMazeObstacle Obstacle
BITMAP * Ground


Detailed Description

RobotMazeCell.h

Created on: Dec 9, 2008 Author: Erik

This class holds the information associated with a cell in a Robot Maze, but not its location.


Constructor & Destructor Documentation

RobotMazeCell::RobotMazeCell ( RobotMazeObstacle  obstacle,
BITMAP *  ground,
bool  eastWall,
bool  southWall 
)

RobotMazeCell::~RobotMazeCell (  )  [virtual]


Member Function Documentation

BITMAP* RobotMazeCell::getGround (  )  [inline]

Returns the bitmap of the ground.

RobotMazeObstacle RobotMazeCell::getObstacle (  )  [inline]

Returns the obstacle at this cell.

bool RobotMazeCell::hasEastWall (  )  [inline]

The walls of the maze are kept track of as the south and east walls of each cell, with walls around so the south walls on the bottom row and the east walls on the right row are trivial

bool RobotMazeCell::hasSouthWall (  )  [inline]


Member Data Documentation

bool RobotMazeCell::EastWall [private]

Outside walls are assumed, so only the inside walls need to be remembered.

BITMAP* RobotMazeCell::Ground [private]

bool RobotMazeCell::SouthWall [private]


The documentation for this class was generated from the following files:

Generated on Mon Mar 16 14:33:15 2009 for LearningGaming by  doxygen 1.5.7.1