blob: 30a2cffcedd8fd91ee870ae96555d8aa8b8720a0 (
plain)
1
2
3
4
5
6
7
|
#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) {}
|