ELEC2645 (2018/19) / Mbed 2 deprecated el17set_

Dependencies:   mbed

Revision:
3:72e0f4d267ed
Child:
4:999ab7216827
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Game/Game.h	Thu Apr 11 14:53:08 2019 +0000
@@ -0,0 +1,29 @@
+#ifndef GAME_H
+#define GAME_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Smiley.h"
+#include "Platform.h"
+
+class Game {
+    
+public:
+    Game();
+    ~Game();
+    void init(int momentum);
+    void read_input(Gamepad &pad);
+    void drawSprite(N5110 &lcd);
+    void movement(Gamepad &pad);
+    
+private:
+    Smiley smiley;
+    Platform platform;
+    int momen;
+    Direction dir;
+    float mag;
+    
+};
+
+#endif
\ No newline at end of file