Josh Davy / Mbed 2 deprecated Flip

Dependencies:   mbed el17jd

Revision:
1:37802772843e
Child:
2:b62e8be35a5d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Game/Game.cpp	Mon Mar 25 10:48:23 2019 +0000
@@ -0,0 +1,42 @@
+#include "Game.h"
+// Objects
+
+const int player_bitmap[6][6] = {
+    {1,1,1,1,0,0},
+    {1,0,0,1,0,0},
+    {1,1,1,1,0,0},
+    {0,1,1,1,1,0},
+    {0,1,1,1,0,1},
+    {0,1,0,1,0,0}
+};
+
+
+Game::Game()
+{
+
+    Vector2D pos = {20,20};
+    _player.init(6,6,(int *)player_bitmap,pos);
+
+
+}
+
+Game::~Game()
+{
+
+}
+
+void Game::read_input(Gamepad &pad)
+{
+
+}
+
+void Game::update(Gamepad &pad)
+{
+    
+}
+
+void Game::draw(N5110 lcd)
+{
+    _player.render(lcd);
+}
+