Adam Baker 201166301

Dependencies:   mbed Gamepad N5110

Revision:
32:06344b45bbab
Parent:
31:bf765e3961f1
Child:
34:911d7d05a8d2
--- a/BlockheadEngine/BlockheadEngine.cpp	Fri Apr 26 09:12:03 2019 +0000
+++ b/BlockheadEngine/BlockheadEngine.cpp	Sat Apr 27 13:15:25 2019 +0000
@@ -23,7 +23,7 @@
 
 void BlockheadEngine::continueInit()
 {
-    _move = _runner.continueInit(_move);
+    _move = _runner.continue_init(_move);
     _pos = _lev.init(_pos);
     
 
@@ -32,10 +32,10 @@
 int BlockheadEngine::playgame(N5110 &lcd, Gamepad &pad)
 {
 
-    _move = _runner.nextLevel(_move);
+    _move = _runner.next_level(_move);
     _pos = _lev.whatLevel(lcd, _move.l);
     _move = _runner.blockhead(_move, _pos, lcd, pad);
-    _gameover = _runner.gameoverFlag(_move, pad);
+    _gameover = _runner.gameover_flag(_move, pad);
     
            // char buffer[14];
            // sprintf(buffer,"%i", _move.go);