summaryrefslogtreecommitdiffhomepage
path: root/src/bullet.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-05-26 15:26:36 -0400
committerrealtradam <[email protected]>2023-05-26 15:26:36 -0400
commitd362dd45a187e4f281751410b82faf1cf0e1dfbf (patch)
treeae37720995a2fcb0b3ca11d2c751dda2c97b8257 /src/bullet.h
parent34b136472bdef8411a5b7458bdb18fa3e417a3ac (diff)
downloadTOJam2023-d362dd45a187e4f281751410b82faf1cf0e1dfbf.tar.gz
TOJam2023-d362dd45a187e4f281751410b82faf1cf0e1dfbf.zip
seperate out bullets and player
Diffstat (limited to 'src/bullet.h')
-rw-r--r--src/bullet.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/bullet.h b/src/bullet.h
new file mode 100644
index 0000000..f9b57ef
--- /dev/null
+++ b/src/bullet.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "rodeo.h"
+#include "rodeo/collision.h"
+
+void
+init_bullets(void);
+
+void
+deinit_bullets(void);
+
+void
+move_bullets(void);
+
+void
+draw_bullets(void);
+
+rodeo_collision_2d_world_t *
+get_enemy_bullet_world(void);
+
+rodeo_collision_2d_world_t *
+get_player_bullet_world(void);