aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/BoxCollider.cpp
blob: c097a2499a828deafa059cadc79b2c9557c73182 (plain)
1
2
3
4
5
6
7
8
9
10
#include "BoxCollider.h"

#include "../Collider.h"

using namespace crepe;

BoxCollider::BoxCollider(game_object_id_t game_object_id, const vec2 & offset,
						 const vec2 & dimensions)
	: Collider(game_object_id, offset),
	  dimensions(dimensions) {}