summaryrefslogtreecommitdiffstats
path: root/src/ball.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ball.h')
-rw-r--r--src/ball.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ball.h b/src/ball.h
new file mode 100644
index 0000000..c2be172
--- /dev/null
+++ b/src/ball.h
@@ -0,0 +1,17 @@
+#ifndef BALL_H
+#define BALL_H
+
+#include "board.h"
+
+static const int BALL_START_X_NORMAL = 40;
+static const int BALL_START_Y_NORMAL = 12;
+
+struct ball {
+ int x;
+ int y;
+ struct ball *next;
+};
+
+struct ball *new_ball(int x, int y);
+
+#endif