Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
Diff: SnakevsBlock/SnakevsBlock.h
- Revision:
- 33:249cf423fb18
- Parent:
- 29:c6358c39a70e
- Child:
- 37:ee47699915b8
diff -r 3a3bdeffdf62 -r 249cf423fb18 SnakevsBlock/SnakevsBlock.h --- a/SnakevsBlock/SnakevsBlock.h Mon Apr 15 13:58:09 2019 +0000 +++ b/SnakevsBlock/SnakevsBlock.h Wed Apr 17 07:47:06 2019 +0000 @@ -7,6 +7,9 @@ #include "Snake.h" #include "SnakeFood.h" #include "Blocks.h" +#include "StartScreen.h" +#include "Stats.h" +#include "SDFileSystem.h" class SnakevsBlock { @@ -30,7 +33,7 @@ * * This function contains the update functions of the other libraries used in the game. */ - int update(Gamepad &pad); + int update(Gamepad &pad, SDFileSystem &sd); /** Draw * @@ -80,6 +83,7 @@ SnakeFood _ff; SnakeFood _fff; Blocks _b; + Stats _statset; int _speed; Direction _d; float _mag;