ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18jkeo

Dependencies:   mbed

Revision:
15:dde4ce4bf7fe
Child:
31:27c938ec2a11
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Rock/Rock.h	Mon Apr 06 15:37:02 2020 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+class Rock
+{
+public: 
+    void init(int x, int y, int size);
+    void render(N5110 &lcd);
+    Vector2D get_position();
+    void set_life(bool x);
+    bool get_life();
+    
+private:
+    int X;
+    int Y;
+    bool Alive;
+    int Size;
+
+};
\ No newline at end of file