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
Diff: Falldown/Falldown.h
- Revision:
- 6:85314a3d69cd
- Parent:
- 5:1a9d84df7207
- Child:
- 7:cf469c3505a2
--- a/Falldown/Falldown.h Sat May 04 10:49:53 2019 +0000 +++ b/Falldown/Falldown.h Mon May 06 09:37:34 2019 +0000 @@ -17,10 +17,11 @@ Falldown(); ~Falldown(); - void init(int ground_height, int ball_size,int line_height,int line_width); + void init(int ground_height, int ground_width, int ball_size, float ground_speed); void read_input(Gamepad &pad); void update(Gamepad &pad); void draw(N5110 &lcd); + //void Level(N5110 &lcd); int check_goal(); @@ -39,16 +40,21 @@ - int _line_width; - int _line_height; + //int _line_width; + //int _line_height; - + //int level; int _ground_width; int _ground_height; + double _ground_speed; //int _ground_width2; int _ball_size; + int _randomnumber1; + + + // x positions of the Grounds