Mochu Yao explorer game

Dependencies:   mbed

Revision:
8:201ef0618b7d
Parent:
3:672d4bd8225d
Child:
10:559487aac60e
--- a/item/item.h	Thu Apr 23 07:49:39 2020 +0000
+++ b/item/item.h	Mon Apr 27 08:41:29 2020 +0000
@@ -19,13 +19,11 @@
 
     // Initialises object.*/
     void init();
-    //Generates the item and barrier. 
-    void generate_item();
     //Sets the item coordinates.
     //rand_x = a random number that determines the x coordinate
     //rand_y = a random number that determines if the item's generated level
     void set_item(int random_x, int random_y);
-    int *get_item_form();// rotating 
+    int *get_item_form();//
     int get_item_x();
     int get_item_y();
 
@@ -33,7 +31,5 @@
 private:
     int _x;//the x coordinate of the item
     int _y;//the y coordinate of the item
-    int _loop;//the loop is used for the item to rotating which means after a few loop it will change it's form
-    bool _rotate_item;//when the loop reach a certain value the bool situation will determine if it will rotate 
 };
 #endif
\ No newline at end of file