diff options
Diffstat (limited to 'src/ball.h')
-rw-r--r-- | src/ball.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,10 +9,12 @@ static const float BALL_START_Y_NORMAL = 12; struct ball { float x; float y; + float speed; + float dir; struct ball *next; }; -struct ball *new_ball(float x, float y); +struct ball *new_ball(float x, float y, float speed, float dir); void free_ball(struct ball *b); void clear_ball(struct ball *b); void update_ball(struct ball *b); |