1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#pragma once #include "Component.h" namespace crepe { class Rigidbody : public Component { public: Rigidbody(int mass, int gravityScale, int bodyType); int mass; int gravity_scale; int body_type; }; } // namespace crepe