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 Gamepad N5110 mbed-rtos
Diff: MiniGame/MiniGame.h
- Revision:
- 13:a2f061b9cc36
- Parent:
- 10:f44b43ed1a06
--- a/MiniGame/MiniGame.h Thu May 09 13:02:04 2019 +0000
+++ b/MiniGame/MiniGame.h Thu May 09 14:19:32 2019 +0000
@@ -81,15 +81,15 @@
int _spacecraft_xpos; // x position of the spacecrafts
int _spacecraft_ypos; // y position of the spacecrafts
- int _u_cloudx;
- int _u_cloudy;
+ int _u_cloudx; // x position of the upper cloud
+ int _u_cloudy; // y position of the upper cloud
- int _l_cloudx;
- int _l_cloudy;
+ int _l_cloudx; // x position of the lower cloud
+ int _l_cloudy; // y position of the lower cloud
- int _p1x;
- int get_counter(); // value of the counter
- int _counter;
+ int _p1x;
+ int _counter; // value of the counter
+ int get_counter(); // get the value of the counter
int set_counter();
Beam _beam; // Player beam