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:
- 7:a1a6bff238c1
- Parent:
- 6:3e50f2cf4366
- Child:
- 8:7b7e1a5b8200
- Child:
- 9:a81db6a703b7
--- a/Ball/Ball.h Thu Apr 18 09:31:52 2019 +0000 +++ b/Ball/Ball.h Thu Apr 18 13:04:37 2019 +0000 @@ -24,9 +24,11 @@ Vector2D get_velocity(); Vector2D get_pos(); void set_pos(Vector2D p); - void start(N5110 &lcd,int checkHit); + void start(N5110 &lcd,int checkHit, Direction dir); void get_direction(Gamepad &pad); void set_field(N5110 &lcd); + void update_ball(int checkHit, Direction dir); + int bowler_start(); private: Gamepad pad; @@ -45,5 +47,7 @@ int _size; int _x; int _y; + int _x1; + int _y1; }; #endif \ No newline at end of file