#include <GameController.h>
Inherited by BinaryMinigame, CentralController, DraggableExample, IntroAnimation, LogicMetagame, LogicMinigame, MainController, MainMenuController, MazeController, MazeProgrammingController, MazeRunController, MemoryMatching, MenuController, RobotBuilding, RobotBuildingController, SoundExample, and StageController.
Public Member Functions | |
| virtual void | step ()=0 |
| This function will be called each time unit of the game. | |
| virtual void | draw (BITMAP *)=0 |
| This function will also be called each screen refresh to draw to the buffer. | |
| virtual bool | isComplete ()=0 |
| This function can be called to check if the GameController is done. | |
| virtual int | getExitCode () |
| This function can be used when the GameController can end in multiple ways. | |
| virtual Graphic * | getDirections () |
| virtual | ~GameController () |
| virtual GameController::~GameController | ( | ) | [inline, virtual] |
| virtual void GameController::draw | ( | BITMAP * | ) | [pure virtual] |
This function will also be called each screen refresh to draw to the buffer.
Implemented in BinaryMinigame, DraggableExample, CentralController, MainMenuController, LogicMetagame, LogicMinigame, MemoryMatching, IntroAnimation, MainController, MenuController, StageController, RobotBuilding, RobotBuildingController, MazeController, MazeProgrammingController, MazeRunController, and SoundExample.
| virtual Graphic* GameController::getDirections | ( | ) | [inline, virtual] |
Reimplemented in BinaryMinigame, LogicMetagame, MemoryMatching, StageController, RobotBuildingController, and MazeController.
| virtual int GameController::getExitCode | ( | ) | [inline, virtual] |
This function can be used when the GameController can end in multiple ways.
Reimplemented in MainMenuController.
| virtual bool GameController::isComplete | ( | ) | [pure virtual] |
This function can be called to check if the GameController is done.
Implemented in BinaryMinigame, CentralController, MainMenuController, LogicMetagame, LogicMinigame, MemoryMatching, IntroAnimation, MainController, MenuController, StageController, RobotBuilding, RobotBuildingController, MazeController, MazeProgrammingController, MazeRunController, and SoundExample.
| virtual void GameController::step | ( | ) | [pure virtual] |
This function will be called each time unit of the game.
Implemented in BinaryMinigame, DraggableExample, CentralController, MainMenuController, LogicMetagame, LogicMinigame, MemoryMatching, IntroAnimation, MainController, MenuController, StageController, RobotBuilding, RobotBuildingController, MazeController, MazeProgrammingController, MazeRunController, and SoundExample.
1.5.7.1