Yuheng Huo / Mbed 2 deprecated hyh_copy

Dependencies:   mbed FXOS8700CQ

Revision:
2:cc9d8ec2e1f4
Parent:
1:48b0bf0bcda8
Child:
3:31ff7b3e2005
--- a/Engine/engine.h	Fri May 15 12:32:47 2020 +0000
+++ b/Engine/engine.h	Fri May 15 17:44:25 2020 +0000
@@ -1,24 +1,21 @@
 #ifndef ENGINE_H
 #define ENGINE_H
 
-#include "plane.h"
+#include "chara.h"
 #include "life.h"
 #include "Bitmap.h"
 #include "N5110.h"
 #include "Gamepad.h"
 
 
-struct bomb{
+struct obs{
     int x;
     int y;
     int width;
     int height;
     int *data;
 };
-struct bullet{
-    int x;
-    int y;
-};
+
 
 enum events{
     DEAD,
@@ -29,9 +26,9 @@
 class engine{
     public:
     void init();
-    events evet_check(plane &p, bomb &b, Gamepad &pad, bullet &bu);
-    void fire(int x,int y, bullet &b);
-    int randombomb();
+    events evet_check(chara &p, obs &b, Gamepad &pad);
+    void fire(int x,int y);
+    int randomobs();
 };
 #endif