blob: e4f04525fbcfd0fa2637723dd0f47868b33b5d77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include "Vector2.h"
#include "../Collider.h"
namespace crepe {
class CircleCollider : public Collider {
public:
<<<<<<< HEAD
CircleCollider(game_object_id_t game_object_id,Vector2 offset, int radius);
double radius;
=======
CircleCollider(game_object_id_t game_object_id, int radius)
: Collider(game_object_id),
radius(radius) {}
int radius;
>>>>>>> be1e97bc7a494963ab1567492fafcda99e36f683
};
} // namespace crepe
|