![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Owen Cavender 201159294
GameEngine.h
- Committer:
- el17oc
- Date:
- 2020-05-30
- Revision:
- 16:9500059ad5d8
- Parent:
- 12:60c856354406
File content as of revision 16:9500059ad5d8:
#ifndef GAMEENGINE_H #define GAMEENGINE_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "snake.h" /** GameEngine Class * Owen Cavender, University of Leeds */ class GameEngine { public: GameEngine(); /**comstructor */ ~GameEngine(); /**decomstructor */ void print_scores(N5110 &lcd, Snake &snake); /**comstructor * prints the score of the game while in game loop */ void get_LEDs(Gamepad &pad, Snake &snake); /**turn on and off leds depending on snake head position */ void print_countdown(N5110 &lcd, Snake &snake); /** prints countdown counter on each loop */ private: }; #endif