aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/CircleCollider.h
blob: caa7e43fb04167cf5aa29f252f1af560c8437ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once
#include "../Collider.h"

namespace crepe {

class CircleCollider : public Collider {
public:
	CircleCollider(game_object_id_t game_object_id, int radius)
		: Collider(game_object_id), radius(radius) {}
	int radius;
};

} // namespace crepe