Library containing the Game Engine

Revision:
8:bd718162a87c
Parent:
7:cf6304ef44fd
Child:
10:df8ea4e747e2
--- a/GameEngine.h	Tue May 02 16:25:26 2017 +0000
+++ b/GameEngine.h	Wed May 03 13:01:09 2017 +0000
@@ -17,7 +17,7 @@
     void init( );
     void read_input(Gamepad &pad);
     void update(Gamepad &pad);
-    void draw(N5110 &lcd);
+    void draw(N5110 &lcd, Gamepad &pad);
     void get_pos();
     int playerx;
     int playery;
@@ -27,10 +27,13 @@
     Player _p;
     Projectile _proj;
     Target _t;
+    Target _tt;
+    Target _ttt;
     int _speed;
     Direction _d;
     float _mag;
     void CheckProjTargetCollision(Gamepad &pad);
+    void CheckPlayerTargetCollision(Gamepad &pad);
     
 };
 #endif
\ No newline at end of file