Library containing the Game Engine

Files at this revision

API Documentation at this revision

Comitter:
ll14c4p
Date:
Thu May 04 11:46:33 2017 +0000
Parent:
13:63013a418903
Commit message:
Bugfixes

Changed in this revision

GameEngine.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 63013a418903 -r 84d2f115062e GameEngine.cpp
--- a/GameEngine.cpp	Thu May 04 11:36:35 2017 +0000
+++ b/GameEngine.cpp	Thu May 04 11:46:33 2017 +0000
@@ -49,8 +49,10 @@
         lcd.printString(bufferscore,WIDTH/2 + 20,3); 
         lcd.printString("   Press A  ",0,5);
         lcd.refresh();
+        wait(0.5);
         
         while(1){
+            wait(0.5);
             if(pad.check_event(Gamepad::A_PRESSED)){ //Waits for A button to be pressed.
                 NVIC_SystemReset(); //Software Reset.
                 }