summaryrefslogtreecommitdiffstats
path: root/src/ball.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ball.c')
-rw-r--r--src/ball.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ball.c b/src/ball.c
index 8337106..b0361cc 100644
--- a/src/ball.c
+++ b/src/ball.c
@@ -20,6 +20,12 @@ new_ball(int x, int y)
}
void
+free_ball(struct ball *b)
+{
+ free(b);
+}
+
+void
draw_ball(struct ball *b)
{
mvprintw(b->y, b->x, "o");