James Heavey
/
EL17JH
FINAL VERSION
Diff: Ball/Ball.h
- Revision:
- 91:c01a736fb0d9
- Parent:
- 86:01f33d94e496
- Child:
- 129:b47c28c7eaaf
--- a/Ball/Ball.h Mon May 06 19:24:32 2019 +0000 +++ b/Ball/Ball.h Mon May 06 22:57:04 2019 +0000 @@ -11,9 +11,9 @@ /* Ball Class @author James Heavey, University of Leeds -@brief Controls the ball in the Breakout game +@brief Controls the ball in the Breakout game @date May 2019 -*/ +*/ class Ball { @@ -24,13 +24,13 @@ void init(int size,int speed,int x); void draw(N5110 &lcd); void update(); - + /// accessors and mutators void set_velocity(Vector2D v); Vector2D get_velocity(); Vector2D get_pos(); void set_pos(Vector2D p); - + private: Vector2D _velocity;