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 e816057..c9ec8f1 100644
--- a/src/ball.c
+++ b/src/ball.c
@@ -26,6 +26,12 @@ free_ball(struct ball *b)
}
void
+clear_ball(struct ball *b)
+{
+ mvprintw(b->y, b->x, " ");
+}
+
+void
update_ball(struct ball *b)
{
++b;