Library containing the Game Engine

Revision:
0:5997fa876927
Child:
1:13a97de95e46
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GameEngine.h	Mon Apr 24 11:06:49 2017 +0000
@@ -0,0 +1,28 @@
+#ifndef GAMEENGINE_H
+#define GAMEENGINE_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Player.h"
+
+class GameEngine
+{
+    public:
+    GameEngine();
+    ~GameEngine();
+
+    void init( );
+    void read_input(Gamepad &pad);
+    void update(Gamepad &pad);
+    void draw(N5110 &lcd);
+    
+    private:
+    
+    Player _p;
+    int _speed;
+    Direction _d;
+    float _mag;
+    
+};
+#endif
\ No newline at end of file