Adam Baker 201166301

Dependencies:   mbed Gamepad N5110

Revision:
44:03059810630d
Parent:
42:0dad7c359fa5
--- a/BlockheadEngine/BlockheadEngine.cpp	Wed May 08 22:00:17 2019 +0000
+++ b/BlockheadEngine/BlockheadEngine.cpp	Thu May 09 10:51:42 2019 +0000
@@ -26,7 +26,7 @@
 
 
 //intialise all variables for continue game 
-void BlockheadEngine::continueInit()                                
+void BlockheadEngine::continue_init()                                
 {
     _blockhead.continue_init();                                     //level not intialised and x/y cordinate of blockhead differs dpending on what level you are on
     _pos = _lev.init(_pos);                                         //initialise variables in level class and _pos struct
@@ -41,7 +41,7 @@
     lcd.clear();                                                    //clear lcd first
     
     _level = _blockhead.next_level();                               //returns what level blockhead is on
-    _pos = _lev.whatLevel(lcd, _level);                             //displays that level on lcd, as well as passes cordinates of moving platforms and spikes to _pos structs
+    _pos = _lev.what_level(lcd, _level);                             //displays that level on lcd, as well as passes cordinates of moving platforms and spikes to _pos structs
     _blockhead.blockhead(_pos, lcd, pad);                           //controlls blcokhead depending on position in game,
     _gameover = _blockhead.gameover_flag(pad);                      //_gameover = 1 once blockhead dies