aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Collider.h
blob: 15d3a24696c4b5d24a749daecc1c38d90a0e8fc7 (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, const vec2& offset);

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

} // namespace crepe