summaryrefslogtreecommitdiffhomepage
path: root/src/wall.h
diff options
context:
space:
mode:
authorarngo <[email protected]>2023-05-27 16:19:34 -0400
committerarngo <[email protected]>2023-05-27 16:19:34 -0400
commitb049a32d80aac0012a653c868263d2efc9a27fcc (patch)
tree49833b6e5c904fee9f1aa01859b803033c26c929 /src/wall.h
parent1467c004665e9efefd2ea0fa2875ad93374d3e1b (diff)
downloadTOJam2023-b049a32d80aac0012a653c868263d2efc9a27fcc.tar.gz
TOJam2023-b049a32d80aac0012a653c868263d2efc9a27fcc.zip
add walls and player wall collision
Diffstat (limited to 'src/wall.h')
-rw-r--r--src/wall.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/wall.h b/src/wall.h
new file mode 100644
index 0000000..7b0f9fe
--- /dev/null
+++ b/src/wall.h
@@ -0,0 +1,18 @@
+#include "rodeo/collision.h"
+
+void
+init_wall(void);
+
+void
+deinit_wall(void);
+
+rodeo_collision_2d_world_t *
+get_wall_world(void);
+
+rodeo_collision_2d_world_item_t *
+new_wall(
+ float x,
+ float y,
+ float width,
+ float height
+);