Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Game/Game.cpp
- 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();
+
 }