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

using namespace crepe::api;

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) {}