Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
EngineController Class Reference
EngineController Class. More...
#include <EngineController.h>
Public Member Functions | |
| EngineController () | |
| Constructor. | |
| ~EngineController () | |
| Destructor. | |
| void | init () |
| Initialises the Game Engine Controller object. | |
| void | run_game_engine (N5110 &lcd, Gamepad &gamepad) |
| Runs the game via controlling the game engine. | |
Detailed Description
EngineController Class.
Class to interface with the game engine
- Date:
- March 2019
#include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "EngineController.h" N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); Gamepad gamepad; EngineController controller; int main() { controller.init(); while(1) { // Run the game. controller.run_game_engine(lcd, gamepad); } }
Definition at line 37 of file EngineController.h.
Constructor & Destructor Documentation
| EngineController | ( | ) |
| ~EngineController | ( | ) |
Member Function Documentation
| void init | ( | ) |
Initialises the Game Engine Controller object.
Definition at line 36 of file EngineController.cpp.
Generated on Mon Jul 18 2022 14:06:02 by
1.7.2