Kern Fowler / Mbed 2 deprecated Donkey_Kong_Game

Dependencies:   mbed

Revision:
33:3894a7f846a0
Parent:
20:c4e6941c98e2
--- a/main.cpp	Wed May 08 23:46:49 2019 +0000
+++ b/main.cpp	Thu May 09 10:46:03 2019 +0000
@@ -146,8 +146,8 @@
     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_score(pad, lcd, banana); // When gameover is reached, runs the end game screen.
+            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.
             // printf("Controls");