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:
- 15:81a3aaf52647
- Parent:
- 14:122eaa3b7a50
- Child:
- 17:b2b651acffae
- Child:
- 18:a260ce8db9e7
--- a/Ball/Ball.h Tue Apr 23 20:57:15 2019 +0000 +++ b/Ball/Ball.h Wed Apr 24 21:17:22 2019 +0000 @@ -23,12 +23,12 @@ void reset(); /// accessors and mutators - int ball_start(); + int ball_start(Gamepad &pad); void get_direction(Gamepad &pad); //void update_ball(int checkHit, Direction dir); int update_ball(int expected_x,int expected_y); - int bowler_start(); + int bowler_start(Gamepad &pad); private: Gamepad pad; @@ -45,6 +45,7 @@ Direction ball_direction; Direction _d; int bowled; + int set_tone; int d; int _size; int _x;