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:
- 4:a9d5fca3b7ba
- Parent:
- 3:4494e6928194
- Child:
- 5:5c132202b642
--- a/Ball/Ball.h Sat May 16 15:51:02 2020 +0000 +++ b/Ball/Ball.h Sun May 17 15:55:47 2020 +0000 @@ -19,12 +19,16 @@ void init(int ball_x_pos,int ball_y_pos); void draw(N5110 &lcd); void update(Direction d); - - int ball_x_pos; - int ball_y_pos; + void level_finish(); + int get_ball_x_pos(); + int get_ball_y_pos(); /// accessors and mutators private: + int ball_x_pos; + int ball_y_pos; + int ball; + }; #endif \ No newline at end of file