aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/CircleCollider.h
blob: e77a5927d43a992392dfa2c1f269fb70fbc28140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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