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:
- 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