aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Collider.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-19 20:43:53 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-19 20:43:53 +0100
commit38a2476bcfa41b6d83a9a72d35f5acb684dc87fd (patch)
treec07949d57bc806ad0261173c702bef1f871e4d1e /src/crepe/Collider.h
parent3b615d87f421b576227ef6d0f7e3c5d66c545da2 (diff)
added doxygen comments
Diffstat (limited to 'src/crepe/Collider.h')
-rw-r--r--src/crepe/Collider.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/crepe/Collider.h b/src/crepe/Collider.h
index 54695b1..e910ae4 100644
--- a/src/crepe/Collider.h
+++ b/src/crepe/Collider.h
@@ -1,13 +1,16 @@
#pragma once
-#include "Component.h"
#include "api/Vector2.h"
+#include "Component.h"
+
namespace crepe {
class Collider : public Component {
public:
Collider(game_object_id_t id, Vector2 offset);
+
+ //! Offset of the collider relative to rigidbody position
Vector2 offset;
};