blob: 1e76346953d9e9a4b9e822141148330aee2e14ed (
plain)
1
2
3
4
5
6
7
8
|
#include "Rigidbody.h"
using namespace crepe;
Rigidbody::Rigidbody(game_object_id_t id, int mass, int gravity_scale,
BodyType bodyType)
: Component(id), mass(mass), gravity_scale(gravity_scale),
body_type(bodyType) {}
|