#include <RobotBuildingController.h>
Inherits GameController.

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. | |
| RobotModel * | generateModel (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. | |
| Graphic * | getDirections () |
Static Public Member Functions | |
| static void | defineNames () |
Private Attributes | |
| RobotModel * | Goal1 |
| RobotModel * | Goal2 |
| RobotModel * | Goal3 |
| GameController * | controller |
| bool | done |
| int | numFin |
| int | gameLevel |
| RobotBuildingController::RobotBuildingController | ( | int | level | ) |
| RobotBuildingController::~RobotBuildingController | ( | ) | [virtual] |
| 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] |
| void RobotBuildingController::step | ( | ) | [virtual] |
bool RobotBuildingController::done [private] |
int RobotBuildingController::gameLevel [private] |
RobotModel* RobotBuildingController::Goal1 [private] |
RobotModel * RobotBuildingController::Goal2 [private] |
RobotModel * RobotBuildingController::Goal3 [private] |
int RobotBuildingController::numFin [private] |
1.5.7.1