Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

Revision:
41:4edac50f010d
Parent:
40:1debed7ec01c
Child:
46:dc7dccae9f9e
--- a/main.cpp	Mon Apr 22 07:10:52 2019 +0000
+++ b/main.cpp	Tue Apr 23 12:25:49 2019 +0000
@@ -63,7 +63,7 @@
         while (1) {
             
             game.read_input(pad, device, g_mode);
-            int back = game.update(pad, sd);
+            int back = game.update(pad);
             refresh_game();
             
             wait(1.0f/fps);
@@ -89,7 +89,7 @@
 void refresh_game()
 {
     lcd.clear();  
-    game.draw(lcd, pad);
+    game.draw(lcd, pad, sd);
     game.get_pos();
     lcd.refresh();
 }
\ No newline at end of file