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

#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