RobotBuildingController Class Reference
[Robot building minigame]

#include <RobotBuildingController.h>

Inherits GameController.

Collaboration diagram for RobotBuildingController:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 RobotBuildingController (int level)
virtual ~RobotBuildingController ()
void step ()
 This function will be called each time unit of the game.
void draw (BITMAP *bmp)
 This function will also be called each screen refresh to draw to the buffer.
RobotModelgenerateModel (int level, int subLevel)
 Generates the various goal robots depending on the level.
bool isComplete ()
 This function can be called to check if the GameController is done.
GraphicgetDirections ()

Static Public Member Functions

static void defineNames ()

Private Attributes

RobotModelGoal1
RobotModelGoal2
RobotModelGoal3
GameControllercontroller
bool done
int numFin
int gameLevel


Detailed Description

Controls the different RobotBuilding minigames at the different game spots.

Constructor & Destructor Documentation

RobotBuildingController::RobotBuildingController ( int  level  ) 

RobotBuildingController::~RobotBuildingController (  )  [virtual]


Member Function Documentation

void RobotBuildingController::defineNames (  )  [static]

void RobotBuildingController::draw ( BITMAP *   )  [virtual]

This function will also be called each screen refresh to draw to the buffer.

Implements GameController.

RobotModel * RobotBuildingController::generateModel ( int  level,
int  subLevel 
)

Generates the various goal robots depending on the level.

Graphic * RobotBuildingController::getDirections (  )  [virtual]

Reimplemented from GameController.

bool RobotBuildingController::isComplete (  )  [inline, virtual]

This function can be called to check if the GameController is done.

Implements GameController.

void RobotBuildingController::step (  )  [virtual]

This function will be called each time unit of the game.

Implements GameController.


Member Data Documentation


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