summaryrefslogtreecommitdiffstats
path: root/src/ball.c
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-21 18:22:53 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-21 18:23:27 (EDT)
commit4e6e4ab53d3d43725f117c0dbf613b2bd9c7794c (patch)
treeea6cbf42c49cddfae32841d0108c1fc357aace47 /src/ball.c
parent456372dc946a7562126047b5e179da32a6cee4be (diff)
downloadcursespong-4e6e4ab53d3d43725f117c0dbf613b2bd9c7794c.zip
cursespong-4e6e4ab53d3d43725f117c0dbf613b2bd9c7794c.tar.gz
cursespong-4e6e4ab53d3d43725f117c0dbf613b2bd9c7794c.tar.bz2
Write a stub update_ball().
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");