Hugo Hu / Mbed 2 deprecated BRAVEHEART

Dependencies:   mbed N5110 ShiftReg PinDetect

Revision:
19:89c3eeb3761b
Parent:
17:d6a3b29cab31
diff -r 709ea375b0df -r 89c3eeb3761b StateManger.cpp
--- a/StateManger.cpp	Mon May 11 04:40:23 2015 +0000
+++ b/StateManger.cpp	Thu Mar 25 03:43:10 2021 +0000
@@ -11,23 +11,23 @@
     switch (newState)
     {
         case MAIN_MENU:
-            currentState = new MainMenu(this, lcd, input, sound);
+            currentState = new MainMenu(this, lcd, input, sound, shiftreg);
         break;
         
         case GAME:
-            currentState = new Game(this, lcd, input, sound);
+            currentState = new Game(this, lcd, input, sound, shiftreg);
         break;
         
         case TITLE_SCREEN:
-            currentState = new TitleScreen(this, lcd, input, sound);
+            currentState = new CoverPage(this, lcd, input, sound, shiftreg);
         break;
         
         case SUBMIT_HIGHSCORE:
-            currentState = new SubmitHighscore(this, lcd, input, sound);
+            currentState = new Achievement(this, lcd, input, sound, shiftreg);
         break;
         
         case GAME_OVER:
-            currentState = new GameOver(this, lcd, input, sound);
+            currentState = new GameOver(this, lcd, input, sound, shiftreg);
         break;
 
         default: