diff options
Diffstat (limited to 'src/ball.c')
-rw-r--r-- | src/ball.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,4 +1,5 @@ #include <stdlib.h> +#include <curses.h> #include "ball.h" @@ -17,3 +18,9 @@ new_ball(int x, int y) return b; } + +void +draw_ball(struct ball *b) +{ + mvprintw(b->y, b->x, "o"); +} |