aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Rigidbody.cpp
blob: 0a6262a0075fc4298ef096c3cd4f1810b64847bf (plain)
1
2
3
4
5
6
7
8
#include "Rigidbody.h"

using namespace crepe;

Rigidbody::Rigidbody(uint32_t game_object_id, int mass, int gravity_scale,
					 BodyType bodyType)
	: Component(game_object_id), mass(mass), gravity_scale(gravity_scale),
	  body_type(bodyType) {}