Li Ruofan 201199450

Dependencies:   mbed Gamepad Joystick

Revision:
6:cbd9e1f26a10
Parent:
5:e3a9f0548922
Child:
8:b4a2954dd74f
--- a/UFO/UFO.h	Fri May 15 19:57:40 2020 +0000
+++ b/UFO/UFO.h	Fri May 15 21:16:14 2020 +0000
@@ -24,7 +24,7 @@
       @param the columns of UFO image (int)
       @param the rows of UFO image (int) 
      */
-    void init(int x,int y,int _sizeX,int _sizeY);
+    void init(int x,int y,int _width,int _height);
     
     /* Get the position of UFO in lcd
       @return the position of UFO in lcd
@@ -64,8 +64,8 @@
 private:
     int _x;
     int _y;
-    int _sizeX;
-    int _sizeY;
+    int _width;
+    int _height;
     int _speed;
     int _blood;