From 3b615d87f421b576227ef6d0f7e3c5d66c545da2 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Tue, 19 Nov 2024 20:42:02 +0100 Subject: doxygen comment colliders --- src/crepe/api/BoxCollider.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/crepe/api/BoxCollider.h') diff --git a/src/crepe/api/BoxCollider.h b/src/crepe/api/BoxCollider.h index 357c979..7f51cba 100644 --- a/src/crepe/api/BoxCollider.h +++ b/src/crepe/api/BoxCollider.h @@ -5,10 +5,19 @@ namespace crepe { +/** + * \brief A class representing a box-shaped collider. + * + * This class is used for collision detection with other colliders (e.g., CircleCollider). + */ class BoxCollider : public Collider { public: BoxCollider(game_object_id_t game_object_id,Vector2 offset, double width, double height); + + //! Width of box collider double width; + + //! Height of box collider double height; }; -- cgit v1.2.3