![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
Diff: MenuClasses/Tutorial/Tutorial.cpp
- Revision:
- 62:ebf6ecf8a6d5
- Parent:
- 61:f3c402bc2ad0
- Child:
- 69:55e309da7efd
--- a/MenuClasses/Tutorial/Tutorial.cpp Tue Apr 30 08:32:30 2019 +0000 +++ b/MenuClasses/Tutorial/Tutorial.cpp Tue Apr 30 14:53:38 2019 +0000 @@ -2,12 +2,12 @@ Tutorial::Tutorial() { - + } Tutorial::~Tutorial() { - + } int g_pad[27][44] = { @@ -204,8 +204,8 @@ } void Tutorial::gamePad(N5110 &lcd, Gamepad &pad) -{ - while ((pad.check_event(Gamepad::START_PRESSED) == false)&&(pad.check_event(Gamepad::A_PRESSED) == false)) { //if button pressed. +{ + while ((pad.check_event(Gamepad::START_PRESSED) == false)&&(pad.check_event(Gamepad::A_PRESSED) == false)) { //if button pressed. lcd.drawSprite(20,0,27,44,(int *)g_pad); //Function used to draw the sprite. lcd.printString("This is your",7,4); lcd.printString("GamePad",22,5);