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.
Diff: main.cpp
- Revision:
- 32:dca62ba807de
- Parent:
- 31:06713cdbba37
--- a/main.cpp Thu May 09 01:40:45 2019 +0000
+++ b/main.cpp Thu May 09 01:52:56 2019 +0000
@@ -146,7 +146,7 @@
if (pad.check_event(Gamepad::A_PRESSED) == true) {
if (menu_option_pos == 0) { // Start Game option.
// printf("GameEngine");
- eng.gameengine_run(pad, lcd, barrel, banana, dky); // Runs the main game loop in the GameEngine class.
+ eng.gameengine_run(pad, lcd, barrel, banana, dky, opt); // Runs the main game loop in the GameEngine class.
eng.gameengine_score(pad, lcd, banana, high); // When gameover is reached, runs the end game screen.
}
if (menu_option_pos == 1) { // Controls option.