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: Mechanics/Mechanics.h
- Revision:
- 20:f8d7b04471b8
- Parent:
- 19:0245df53e919
- Child:
- 22:9065c457a45d
--- a/Mechanics/Mechanics.h Sat Mar 28 14:25:37 2020 +0000 +++ b/Mechanics/Mechanics.h Sat Mar 28 14:40:04 2020 +0000 @@ -80,6 +80,13 @@ class Mechanics { public: + + /** Constructor */ + Mechanics(); + + /** Destructor */ + ~Mechanics(); + /** Checks the current position of the player to see if they are in the next gate, returns either the current gate or increases the gate * @param gates[] The array containing all the gates (Square_2D) * @param number_of_gates Number of gates in the array (int)