Yuheng Huo / Mbed 2 deprecated hyh_copy_copy

Dependencies:   mbed FXOS8700CQ

Revision:
1:48b0bf0bcda8
diff -r 03d005063b30 -r 48b0bf0bcda8 plane.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plane.h	Fri May 15 12:32:47 2020 +0000
@@ -0,0 +1,33 @@
+#ifndef PLANE_H
+#define PLANE_H
+
+#include "Bitmap.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "mbed.h"
+#include "FXOS8700CQ.h"
+
+
+struct xy{
+    int x;
+    int y;
+};
+
+class plane{
+    public:
+    void init();
+    void update(Gamepad &pad, FXOS8700CQ &device);
+    void display(N5110 &lcd);
+    xy getxy();
+    int getwidth();
+    int getheight();
+    
+    private:
+    int _height;
+    int _width;
+    int data[56];
+    xy _xy;
+    
+};
+#endif
+