aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Force.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Force.cpp')
-rw-r--r--src/crepe/api/Force.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/api/Force.cpp b/src/crepe/api/Force.cpp
index 3c33ad3..63131ac 100644
--- a/src/crepe/api/Force.cpp
+++ b/src/crepe/api/Force.cpp
@@ -4,8 +4,7 @@
namespace crepe {
-Force::Force(uint32_t game_object_id, uint32_t magnitude, uint32_t direction)
- : Component(game_object_id) {
+Force::Force(game_object_id_t id, uint32_t magnitude, uint32_t direction) : Component(id) {
// TODO: A standard angle unit should be established for the entire engine
// and assumed to be the default everywhere. Only conversion functions should
// explicitly contain the unit (i.e. `deg_to_rad()` & `rad_to_deg()`)