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
GameEngine Class Reference
GameEngine Class Owen Cavender, University of Leeds. More...
#include <GameEngine.h>
Public Member Functions | |
~GameEngine () | |
comstructor | |
void | print_scores (N5110 &lcd, Snake &snake) |
decomstructor | |
void | get_LEDs (Gamepad &pad, Snake &snake) |
comstructor prints the score of the game while in game loop | |
void | print_countdown (N5110 &lcd, Snake &snake) |
turn on and off leds depending on snake head position |
Detailed Description
GameEngine Class Owen Cavender, University of Leeds.
Definition at line 14 of file GameEngine.h.
Constructor & Destructor Documentation
~GameEngine | ( | ) |
comstructor
Definition at line 8 of file GameEngine.cpp.
Member Function Documentation
comstructor prints the score of the game while in game loop
Definition at line 26 of file GameEngine.cpp.
turn on and off leds depending on snake head position
Definition at line 64 of file GameEngine.cpp.
decomstructor
Definition at line 13 of file GameEngine.cpp.
Generated on Wed Jul 20 2022 02:14:09 by
