201199550 Li Boyuan PlaneWar Game on K64f

Dependencies:   mbed Gamepad N5110

Revision:
0:36c99c50e688
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plane.h	Thu May 14 10:14:48 2020 +0000
@@ -0,0 +1,29 @@
+#ifndef PLANE_H
+#define PLANE_H
+
+#include "Bitmap.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+
+struct xy{
+    int x;
+    int y;
+};
+
+class plane{
+    public:
+    void init();
+    void update(Gamepad &pad);
+    void display(N5110 &lcd);
+    xy getxy();
+    int getwidth();
+    int getheight();
+    
+    private:
+    int _height;
+    int _width;
+    int data[56];
+    xy _xy;
+};
+#endif
\ No newline at end of file