aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Collider.h
blob: 5b26af5124a1f53f40834bb465d2ffb795049130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "api/Vector2.h"

#include "Component.h"
#include "types.h"

namespace crepe {

class Collider : public Component {
public:
	Collider(game_object_id_t id, vec2 offset);

public:
	//! Offset of the collider relative to rigidbody position 
	vec2 offset;
};

} // namespace crepe