yr
Diff: play.h
- Revision:
- 0:de980644a94b
diff -r 000000000000 -r de980644a94b play.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/play.h Tue Mar 30 14:11:21 2021 +0000 @@ -0,0 +1,29 @@ +#ifndef PLAY_H +#define PLAY_H + +#include "mbed.h" +#include "N5110.h" + +#include "monster.h" +#include "shapes.h" +#include "main.h" + +static int score; +static int best_score = 0; + +void initAll(); + +void get_start(N5110 &lcd); + +void store_score(); + +void show_score(N5110 &lcd, DigitalIn &button_A); + +void game_begin(N5110 &lcd, DigitalIn &button_A, DigitalIn &button_B, DigitalIn &button_C, DigitalIn &button_D); + + + + + + +#endif \ No newline at end of file