Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: N5110 mbed PowerControl
Diff: GameScreen.h
- Revision:
- 11:c6c88617f7e7
- Parent:
- 10:d8ef8633bd98
- Child:
- 12:9ba4b21f8220
diff -r d8ef8633bd98 -r c6c88617f7e7 GameScreen.h
--- a/GameScreen.h	Mon Apr 27 21:10:23 2015 +0000
+++ b/GameScreen.h	Mon Apr 27 23:49:19 2015 +0000
@@ -30,7 +30,7 @@
         :N5110(pwrPin, scePin,rstPin,dcPin,mosiPin,sclkPin,ledPin) {}   //classes needed are private...dont want to steal code so we'll just inheret constructor aswell :)
 
     void Initialize();
-    void printString(const char * str,int x,int y);     //overide base class
+    void printString(const char * str,int x,int y,bool invert = false);     //overide base class
     void drawBall();
     void eraseBall();    
     void drawAllPlatforms();
@@ -40,6 +40,7 @@
     void displayStartScreen();
     void displayInstructionScreen();
     void displayCountdown();
+    void displayEndScreen(int lvl,int *cursor);
     
     //Write Access, set
     void        setBallPos(int x, int y)        { playerBall.x = x; playerBall.y = y; }