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 FXOS8700CQ mbed-rtos
Diff: Game_three/Game_three.h
- Revision:
- 28:a6726a3f8e6d
- Parent:
- 27:4bcdfb212467
- Child:
- 29:75a05e9f0e8d
--- a/Game_three/Game_three.h Mon May 06 01:28:50 2019 +0000 +++ b/Game_three/Game_three.h Mon May 06 02:42:34 2019 +0000 @@ -25,12 +25,15 @@ /** Deconstructor */ ~Game_three(); + void init_para(); void init(Gamepad &pad, int r); void render(N5110 &lcd, int r); void draw(N5110 &lcd, int r); void read_input(Gamepad &pad); void update(Gamepad &pad, int r); + void set_count(int count); + /** * @brief Get count value * @return The current count (int) @@ -38,6 +41,8 @@ */ int get_count(); + void set_score(int score); + int get_score(); /**