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

using namespace crepe;

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