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_three/Game_three.cpp
- Revision:
- 29:75a05e9f0e8d
- Parent:
- 28:a6726a3f8e6d
- Child:
- 33:f7ec806e14b6
diff -r a6726a3f8e6d -r 75a05e9f0e8d Game_three/Game_three.cpp
--- a/Game_three/Game_three.cpp Mon May 06 02:42:34 2019 +0000
+++ b/Game_three/Game_three.cpp Mon May 06 20:35:37 2019 +0000
@@ -167,22 +167,12 @@
lcd.drawSprite(0, 0, 48, 84, (int*) data);
}
-void Game_three::set_count(int count)
-{
- _count = count;
-}
-
int Game_three::get_count()
{
int count = _count;
return count;
}
-void Game_three::set_score(int score)
-{
- _score = score;
-}
-
int Game_three::get_score()
{
int score = _score;