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: Cricket/Cricket.h
- Revision:
- 22:69d7fe739872
- Parent:
- 21:a0904159e183
--- a/Cricket/Cricket.h Tue Apr 30 13:17:14 2019 +0000 +++ b/Cricket/Cricket.h Tue Apr 30 20:36:42 2019 +0000 @@ -31,7 +31,9 @@ void batsman_out(int option,Gamepad &pad, N5110 &lcd); void check_victory(N5110 &lcd); void game(N5110 &lcd,Gamepad &pad); - + void new_round(N5110 &lcd, Gamepad &pad); + void new_game(N5110 &lcd, Gamepad &pad); + void intro(N5110 &lcd); void init_positions(); void round_reset(); void game_reset(); @@ -64,15 +66,16 @@ int init_field_counter; int outfield_fielder; int fieldersCount; - int new_round; + int _new_round; int fieldNumbers[10]; int _position_no; int ballHit; int check_hit; int _ball_limit; - int new_game; + int _new_game; int check_update; int set_hit; + int set_loft; int loft_check; int d; int _size;