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