ELEC2645 (2019/20)
/
ELEC2645_Project_el17oc1
Owen Cavender 201159294
Diff: GameEngine.h
- Revision:
- 8:997f90c88246
- Child:
- 9:a69a6a06dddf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GameEngine.h Thu May 28 18:50:56 2020 +0000 @@ -0,0 +1,41 @@ +#ifndef GAMEENGINE_H +#define GAMEENGINE_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" +#include "snake.h" + + + +class GameEngine +{ + + +public: + GameEngine(); + ~GameEngine(); + + + void print_scores(N5110 &lcd); + void print_display_time(N5110 &lcd); + void get_time(Timer &timer); + void get_LEDs(Gamepad &pad); + Vector2D get_Applepos(N5110 &lcd); + + +private: + + float _realtime; + int Reset_value; + float _display_time; +}; + + +#endif + + + + + +