diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-18 13:31:06 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-18 13:31:06 +0100 |
commit | 1d182abe4278b6bf4410cb25a9ae41f501833990 (patch) | |
tree | 931fb2f3ea876d25abbfcd89ce3a9fb7b962c23c /src/example | |
parent | bec22107c6754f5f3440d79503ddbc828d7e0cba (diff) |
process feedback
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/game.cpp b/src/example/game.cpp index 22effd2..3975650 100644 --- a/src/example/game.cpp +++ b/src/example/game.cpp @@ -86,7 +86,7 @@ class MyScript1 : public Script { subscribe<KeyPressEvent>( [this](const KeyPressEvent & ev) -> bool { return this->keypressed(ev); }); } - void update() { + void update(duration_t) { Rigidbody & tf = this->get_component<Rigidbody>(); Log::logf("linear_velocity.x {}", tf.data.linear_velocity.x); Log::logf("linear_velocity.y {}", tf.data.linear_velocity.y); |