Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Gold/Gold.h
- 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);