Projectile Library

Revision:
1:2aee0cb1ebf9
Parent:
0:6914458c54cd
Child:
2:b079859c59ba
--- a/Projectile.h	Mon Apr 24 11:06:14 2017 +0000
+++ b/Projectile.h	Mon Apr 24 13:35:08 2017 +0000
@@ -11,8 +11,19 @@
     public:
     Projectile();
     ~Projectile();
+    void init(int size,int speed);
+    void draw(N5110 &lcd);
+    void set_velocity(Vector2D v);
+    Vector2D get_velocity();
+    Vector2D get_pos();
+    void set_pos(Vector2D p);
+    void update();
     
     private:
     
+    Vector2D _velocity;
+    int _size;
+    int _x;
+    int _y;
 };
 #endif
\ No newline at end of file