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, 3 insertions, 2 deletions
diff --git a/src/crepe/Collider.h b/src/crepe/Collider.h
index 0157324..5b26af5 100644
--- a/src/crepe/Collider.h
+++ b/src/crepe/Collider.h
@@ -3,16 +3,17 @@
#include "api/Vector2.h"
#include "Component.h"
+#include "types.h"
namespace crepe {
class Collider : public Component {
public:
- Collider(game_object_id_t id, Vector2 offset);
+ Collider(game_object_id_t id, vec2 offset);
public:
//! Offset of the collider relative to rigidbody position
- Vector2 offset;
+ vec2 offset;
};
} // namespace crepe