Projectile Library

Revision:
2:b079859c59ba
Parent:
1:2aee0cb1ebf9
Child:
3:70c599d9f191
--- a/Projectile.h	Mon Apr 24 13:35:08 2017 +0000
+++ b/Projectile.h	Sat Apr 29 13:17:35 2017 +0000
@@ -4,7 +4,7 @@
 #include "mbed.h"
 #include "N5110.h"
 #include "Gamepad.h"
-
+#include "Player.h"
 
 class Projectile
 {
@@ -18,6 +18,8 @@
     Vector2D get_pos();
     void set_pos(Vector2D p);
     void update();
+    int playerx;
+    int playery;
     
     private:
     
@@ -25,5 +27,6 @@
     int _size;
     int _x;
     int _y;
+    
 };
 #endif
\ No newline at end of file