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

#include "api/Vector2.h"

#include "Component.h"

namespace crepe {

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

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

} // namespace crepe