Josh Davy / Mbed 2 deprecated Flip

Dependencies:   mbed el17jd

Revision:
2:b62e8be35a5d
Parent:
1:37802772843e
Child:
3:b34685dbdb8d
--- a/Game/Game.cpp	Mon Mar 25 10:48:23 2019 +0000
+++ b/Game/Game.cpp	Tue Apr 02 10:45:44 2019 +0000
@@ -1,6 +1,8 @@
 #include "Game.h"
 // Objects
 
+
+
 const int player_bitmap[6][6] = {
     {1,1,1,1,0,0},
     {1,0,0,1,0,0},
@@ -32,11 +34,15 @@
 
 void Game::update(Gamepad &pad)
 {
-    
+
 }
 
-void Game::draw(N5110 lcd)
+void Game::draw(N5110 &lcd)
 {
+
+    lcd.clear();
     _player.render(lcd);
+    lcd.refresh();
+
 }