ELEC2645 (2017/18) / Mbed 2 deprecated ll14zs

Dependencies:   mbed

Fork of ll14zs by Zeshaan Saeed

Revision:
3:1231a3961984
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Level/Level.h	Thu May 24 17:37:17 2018 +0000
@@ -0,0 +1,35 @@
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Car.h"
+
+class Level
+{
+
+public:
+    
+    Level();
+    ~Level();
+    
+    void draw(N5110 &lcd);
+    
+    void update();
+    
+    Vector2D get_velocity();
+    
+    void set_velocity(Vector2D v);
+    
+    Vector2D get_pos();
+    
+    void set_pos(Vector2D p);
+    
+private: 
+
+    //parameters 
+    int _width;
+    int _height;
+    int _x;
+    int _y;
+    Vector2D _velocity;
+    
+};
\ No newline at end of file