From d61dcdcc384249ec7ea60c9cc18aab9df1f80577 Mon Sep 17 00:00:00 2001 From: quou Date: Thu, 4 May 2023 14:10:41 +1000 Subject: Add shooting. --- bullet.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bullet.h (limited to 'bullet.h') 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 -- cgit v1.2.3-54-g00ecf