aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Collider.h
diff options
context:
space:
mode:
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;
};