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.
Dependencies: mbed FXOS8700CQ mbed-rtos
Diff: Game_one/Game_one.h
- Revision:
- 19:903d67bb0dea
- Parent:
- 17:5d8ff39a0e49
- Child:
- 20:50ad2dad310d
--- a/Game_one/Game_one.h Sun Apr 21 11:07:43 2019 +0000
+++ b/Game_one/Game_one.h Sun Apr 21 12:14:59 2019 +0000
@@ -80,6 +80,27 @@
*/
void intro(Gamepad &pad, N5110 &lcd);
+ /**
+ * @brief Set count
+ * @param count (int)
+ * @details The private function set the value for private member _count
+ */
+ void set_count(int count);
+
+ /**
+ * @brief Update parameter alt
+ * @return current value of alt (int)
+ * @details The function flips the value of alt to draw the alternative sprite of character to create a running animation
+ */
+ int update_alt();
+
+ /**
+ * @brief Set parameter _alt
+ * @param alt (int)
+ * @details The function sets the value for private memeber _alt
+ */
+ void set_alt(int alt);
+
private:
/**
@@ -112,27 +133,6 @@
*/
void gameover(N5110 &lcd, Gamepad &pad);
- /**
- * @brief Set count
- * @param count (int)
- * @details The private function set the value for private member _count
- */
- void set_count(int count);
-
- /**
- * @brief Update parameter alt
- * @return current value of alt (int)
- * @details The function flips the value of alt to draw the alternative sprite of character to create a running animation
- */
- int update_alt();
-
- /**
- * @brief Set parameter _alt
- * @param alt (int)
- * @details The function sets the value for private memeber _alt
- */
- void set_alt(int alt);
-
Score music;
Game_one_cha _p1;