Yufan Zhong / Mbed 2 deprecated GOLD_MINER

Dependencies:   mbed

Revision:
12:07a9f2140d9b
Parent:
10:51870f8e2e1a
Child:
16:e3ecfcd2a389
--- a/Gold/Gold.h	Mon Apr 27 05:44:02 2020 +0000
+++ b/Gold/Gold.h	Mon Apr 27 16:02:47 2020 +0000
@@ -28,6 +28,7 @@
     /// accessors and mutators
     Vector2D get_pos(int gold_i);
     void set_pos(Vector2D p);
+    void set_speed(int speed);
     
 private:
     int _gold_num;
@@ -36,6 +37,7 @@
     int _gold_reached[12];
     int _x[12];
     int _y[12];
+    int _gold_speed;
     
 };
 #endif
\ No newline at end of file