aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-18 14:07:39 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-18 14:07:39 +0100
commit8dfdb5a588614db80fa8f41ccf883c1766fe56ff (patch)
tree3f5a323bc6f23ed1072bded1ac2b527c2bb031a6 /src/example
parentefcb4e88c7b921684379adce2a3d09c8f9aaf3a3 (diff)
parent8afdca56d61a6c66ad1ac1bbd092192eeb827173 (diff)
merge master
Diffstat (limited to 'src/example')
-rw-r--r--src/example/game.cpp2
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);