aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Collider.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/Collider.cpp
parent3a690f7d0c91b92b9cdfe62f44dba8db90142abc (diff)
created colliders
Diffstat (limited to 'src/crepe/Collider.cpp')
-rw-r--r--src/crepe/Collider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/Collider.cpp b/src/crepe/Collider.cpp
index bbec488..0706371 100644
--- a/src/crepe/Collider.cpp
+++ b/src/crepe/Collider.cpp
@@ -2,4 +2,4 @@
using namespace crepe;
-Collider::Collider(game_object_id_t id) : Component(id) {}
+Collider::Collider(game_object_id_t id, Vector2 offset) : Component(id), offset(offset) {}