Library containing the Game Engine

Revision:
3:2f8f003ce4fd
Parent:
2:3b1d8ac1aac1
Child:
4:e78f5bcddb01
--- a/GameEngine.cpp	Fri Apr 28 15:52:35 2017 +0000
+++ b/GameEngine.cpp	Sat Apr 29 13:17:51 2017 +0000
@@ -28,13 +28,16 @@
     // draw the elements in the LCD buffer
     // player
     _p.draw(lcd);
+    _proj.draw(lcd);
 }
 
+
 void GameEngine::update(Gamepad &pad)
 {
     // important to update paddles and ball before checking collisions so can
     // correct for it before updating the display
     _p.update(_d,_mag);
+    _proj.update(); 
 
 }