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: mbed N5110 ShiftReg PinDetect
Diff: StateManger.cpp
- 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: