diff options
Diffstat (limited to 'src/crepe/api/BoxCollider.h')
-rw-r--r-- | src/crepe/api/BoxCollider.h | 9 |
1 files changed, 9 insertions, 0 deletions
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; }; |