Snake game snake library
Diff: Snake.h
- Revision:
- 9:e023c11f7737
- Parent:
- 8:721a8dca7a25
- Child:
- 10:f63560a7e7ed
diff -r 721a8dca7a25 -r e023c11f7737 Snake.h --- a/Snake.h Fri Apr 26 04:46:54 2019 +0000 +++ b/Snake.h Sat Apr 27 06:18:17 2019 +0000 @@ -27,10 +27,11 @@ void drawsnake(N5110 &lcd); void snakemov(Gamepad &pad); void dead(N5110 &lcd); - void eat(); + void eat(Gamepad &pad); void check_WallCollision(N5110 &lcd); void check_TailCollision(N5110 &lcd); void drawscore(N5110 &lcd); + void Tone_1(Gamepad &pad); int _length; int live; float waitTime;