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: Eng.h
- Revision:
- 9:2836fc3d9ede
- Parent:
- 8:0b9a824c75fe
- Child:
- 10:6c574b8524df
--- a/Eng.h Sun May 17 19:44:26 2020 +0000 +++ b/Eng.h Mon May 18 12:41:06 2020 +0000 @@ -7,6 +7,7 @@ #include "Aim.h" #include "Heston.h" #include "Pup.h" +#include "Spikes.h" // gap from edge of screen #define GAP 2 @@ -26,6 +27,8 @@ void powerup(N5110 &lcd, Gamepad &pad); void print_score(N5110 &lcd); + void check_s_hit(); + void tik(); private: @@ -63,6 +66,10 @@ int _tok; bool flag; + bool spike_f; + + Spikes _s1; + Spikes _s2; };