From 428182f45797de73b0bc2335916d25762b0d719b Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Sun, 10 Nov 2024 19:49:10 +0100 Subject: created colliders --- src/crepe/api/CircleCollider.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/crepe/api/CircleCollider.cpp (limited to 'src/crepe/api/CircleCollider.cpp') 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) {} -- cgit v1.2.3