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

using namespace crepe::api;

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