aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Rigidbody.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 15:27:28 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 15:27:28 +0100
commitbe58cc9342a775c21ec2ee28923414a5c612fe6e (patch)
tree6cfc5f7d4d403482afc5131f77369c99f0da1241 /src/crepe/api/Rigidbody.h
parent97515abfb2859e289df9d65d7106f35159749131 (diff)
add game_object_id_t type
Diffstat (limited to 'src/crepe/api/Rigidbody.h')
-rw-r--r--src/crepe/api/Rigidbody.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/api/Rigidbody.h b/src/crepe/api/Rigidbody.h
index 518ed94..02ced2e 100644
--- a/src/crepe/api/Rigidbody.h
+++ b/src/crepe/api/Rigidbody.h
@@ -18,8 +18,7 @@ enum class BodyType {
class Rigidbody : public Component {
public:
- Rigidbody(uint32_t game_object_id, int mass, int gravity_scale,
- BodyType body_type);
+ Rigidbody(game_object_id_t id, int mass, int gravity_scale, BodyType body_type);
int32_t velocity_x;
int32_t velocity_y;
int mass;