Owen Cavender 201159294

Dependencies:   mbed Gamepad2

Committer:
el17oc
Date:
Thu May 28 18:50:56 2020 +0000
Revision:
8:997f90c88246
Child:
9:a69a6a06dddf
GG

Who changed what in which revision?

UserRevisionLine numberNew contents of line
el17oc 8:997f90c88246 1 #ifndef GAMEENGINE_H
el17oc 8:997f90c88246 2 #define GAMEENGINE_H
el17oc 8:997f90c88246 3
el17oc 8:997f90c88246 4 #include "mbed.h"
el17oc 8:997f90c88246 5 #include "N5110.h"
el17oc 8:997f90c88246 6 #include "Gamepad.h"
el17oc 8:997f90c88246 7 #include "snake.h"
el17oc 8:997f90c88246 8
el17oc 8:997f90c88246 9
el17oc 8:997f90c88246 10
el17oc 8:997f90c88246 11 class GameEngine
el17oc 8:997f90c88246 12 {
el17oc 8:997f90c88246 13
el17oc 8:997f90c88246 14
el17oc 8:997f90c88246 15 public:
el17oc 8:997f90c88246 16 GameEngine();
el17oc 8:997f90c88246 17 ~GameEngine();
el17oc 8:997f90c88246 18
el17oc 8:997f90c88246 19
el17oc 8:997f90c88246 20 void print_scores(N5110 &lcd);
el17oc 8:997f90c88246 21 void print_display_time(N5110 &lcd);
el17oc 8:997f90c88246 22 void get_time(Timer &timer);
el17oc 8:997f90c88246 23 void get_LEDs(Gamepad &pad);
el17oc 8:997f90c88246 24 Vector2D get_Applepos(N5110 &lcd);
el17oc 8:997f90c88246 25
el17oc 8:997f90c88246 26
el17oc 8:997f90c88246 27 private:
el17oc 8:997f90c88246 28
el17oc 8:997f90c88246 29 float _realtime;
el17oc 8:997f90c88246 30 int Reset_value;
el17oc 8:997f90c88246 31 float _display_time;
el17oc 8:997f90c88246 32 };
el17oc 8:997f90c88246 33
el17oc 8:997f90c88246 34
el17oc 8:997f90c88246 35 #endif
el17oc 8:997f90c88246 36
el17oc 8:997f90c88246 37
el17oc 8:997f90c88246 38
el17oc 8:997f90c88246 39
el17oc 8:997f90c88246 40
el17oc 8:997f90c88246 41