aboutsummaryrefslogtreecommitdiff
path: root/bullet.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-05 09:25:39 +1000
committerquou <quou@disroot.org>2023-05-05 09:25:39 +1000
commit280552fa4750b5dac9243782f9c0a7e0b7eea6f8 (patch)
tree6385dc740cc965dad7dc628e8b10738724ec0a42 /bullet.h
parent0a083f5a9a747083bbc3a1f0689e76ac5fc3a3b9 (diff)
Add a basic enemy.
Diffstat (limited to 'bullet.h')
-rw-r--r--bullet.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bullet.h b/bullet.h
index cd7a436..2c84840 100644
--- a/bullet.h
+++ b/bullet.h
@@ -12,4 +12,12 @@ int new_player_bullet(
int life
);
+int new_enemy_bullet(
+ struct World* world,
+ int x,
+ int y,
+ int vx,
+ int vy
+);
+
#endif