![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
Diff: GameEngine/LengthManager/LengthManager.h
- Revision:
- 83:329da564799a
- Parent:
- 79:35cb65c52d25
- Child:
- 93:7f9c31ed5cab
--- a/GameEngine/LengthManager/LengthManager.h Mon May 06 10:49:50 2019 +0000 +++ b/GameEngine/LengthManager/LengthManager.h Mon May 06 14:28:35 2019 +0000 @@ -16,7 +16,7 @@ * * This function sets the initial length parameters. */ - void init(); + void init(N5110 *lcd); /** Minus Length * @@ -34,7 +34,7 @@ * * This function draws the length on the screen. */ - void print_length_on_screen(N5110 &lcd); + void print_length_on_screen(); /** get the length * @@ -50,6 +50,10 @@ private: int _length; + //Pointer to the game pad object pad. + Gamepad *_pad; + //Pointer to the N5110 object lcd. + N5110 *_lcd; }; #endif \ No newline at end of file