Projectile Library
Diff: Projectile.h
- Revision:
- 3:70c599d9f191
- Parent:
- 2:b079859c59ba
- Child:
- 4:977109f7b9f6
--- a/Projectile.h Sat Apr 29 13:17:35 2017 +0000 +++ b/Projectile.h Tue May 02 09:43:19 2017 +0000 @@ -11,18 +11,17 @@ public: Projectile(); ~Projectile(); - void init(int size,int speed); + void init(); void draw(N5110 &lcd); void set_velocity(Vector2D v); Vector2D get_velocity(); Vector2D get_pos(); - void set_pos(Vector2D p); void update(); int playerx; int playery; private: - + int m; Vector2D _velocity; int _size; int _x;