blob: e910ae461fef5d0dd34c97ec836dd88fb1228e8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#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;
};
} // namespace crepe
|