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: Ball/Ball.h
- Revision:
- 5:5c132202b642
- Parent:
- 4:a9d5fca3b7ba
- Child:
- 7:35465b3bf586
--- a/Ball/Ball.h Sun May 17 15:55:47 2020 +0000 +++ b/Ball/Ball.h Sun May 17 19:09:13 2020 +0000 @@ -16,7 +16,7 @@ public: Ball(); ~Ball(); - void init(int ball_x_pos,int ball_y_pos); + void init(); void draw(N5110 &lcd); void update(Direction d); void level_finish(); @@ -29,6 +29,8 @@ int ball_x_pos; int ball_y_pos; int ball; + int x_pos; + int y_pos; }; #endif \ No newline at end of file