aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/BoxCollider.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-10 21:38:58 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-10 21:38:58 +0100
commit47dd27c42f375b65ee53f8b1e8c1b25327315a92 (patch)
treec3206a49e7826e4e6f8a506e0d596d58393c2d6b /src/crepe/api/BoxCollider.cpp
parent428182f45797de73b0bc2335916d25762b0d719b (diff)
box-box collision
Diffstat (limited to 'src/crepe/api/BoxCollider.cpp')
-rw-r--r--src/crepe/api/BoxCollider.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/crepe/api/BoxCollider.cpp b/src/crepe/api/BoxCollider.cpp
index c3cb60c..eafbdb2 100644
--- a/src/crepe/api/BoxCollider.cpp
+++ b/src/crepe/api/BoxCollider.cpp
@@ -1,8 +1,7 @@
-#pragma once
-
#include "BoxCollider.h"
+#include "../Collider.h"
using namespace crepe;
-BoxCollider::BoxCollider(game_object_id_t game_object_id,Vector2 offset, int width, int height) : Collider(game_object_id,offset), width(width), height(height) {}
+BoxCollider::BoxCollider(game_object_id_t game_object_id,Vector2 offset, double width, double height) : Collider(game_object_id,offset), width(width), height(height) {}