aboutsummaryrefslogtreecommitdiff
path: root/bullet.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-04 14:10:41 +1000
committerquou <quou@disroot.org>2023-05-04 14:10:50 +1000
commitd61dcdcc384249ec7ea60c9cc18aab9df1f80577 (patch)
tree563e985e6a1f480461177f2c341d70ce5dd1498d /bullet.h
parentc4ac81cffcf925963acb0c02584ab22626427a73 (diff)
Add shooting.
Diffstat (limited to 'bullet.h')
-rw-r--r--bullet.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/bullet.h b/bullet.h
new file mode 100644
index 0000000..cd7a436
--- /dev/null
+++ b/bullet.h
@@ -0,0 +1,15 @@
+#ifndef bullet_h
+#define bullet_h
+
+struct World;
+
+int new_player_bullet(
+ struct World* world,
+ int x,
+ int y,
+ int vx,
+ int vy,
+ int life
+);
+
+#endif