aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/CircleCollider.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-10 19:49:10 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-10 19:49:10 +0100
commit428182f45797de73b0bc2335916d25762b0d719b (patch)
tree9fe9044177c253351a393590526e83098529b559 /src/crepe/api/CircleCollider.cpp
parent3a690f7d0c91b92b9cdfe62f44dba8db90142abc (diff)
created colliders
Diffstat (limited to 'src/crepe/api/CircleCollider.cpp')
-rw-r--r--src/crepe/api/CircleCollider.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/crepe/api/CircleCollider.cpp b/src/crepe/api/CircleCollider.cpp
new file mode 100644
index 0000000..9365793
--- /dev/null
+++ b/src/crepe/api/CircleCollider.cpp
@@ -0,0 +1,8 @@
+#pragma once
+
+#include "CircleCollider.h"
+
+using namespace crepe;
+
+
+CircleCollider::CircleCollider(game_object_id_t game_object_id,Vector2 offset, int radius) : Collider(game_object_id,offset), radius(radius) {}