Yufan Zhong / Mbed 2 deprecated GOLD_MINER

Dependencies:   mbed

Revision:
8:c5969685cf02
Parent:
1:9c7bb3db32bc
Child:
10:51870f8e2e1a
--- a/Gold/Gold.h	Sun Apr 26 07:30:22 2020 +0000
+++ b/Gold/Gold.h	Sun Apr 26 13:17:27 2020 +0000
@@ -6,6 +6,7 @@
 #include "Gamepad.h"
 #include "Winch.h"
 #include "Monster.h"
+#include "time.h"
 
 /** Gold Class
 @author Dr Craig A. Evans, University of Leeds
@@ -24,6 +25,7 @@
     void gold_caught(int caught_i);
     void gold_reached(int reached_i);
     int get_reached_num();
+    int get_left_num();
     /// accessors and mutators
     Vector2D get_pos(int gold_i);
     void set_pos(Vector2D p);