diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-19 19:06:00 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-19 19:06:00 +0100 |
commit | e9ff4f207572a2dd2fb588093c7d1d971e463dc0 (patch) | |
tree | 621c74431b2a4042099e3c22beee3f5383ef2cbb /src/example/game.cpp | |
parent | fa3bf171e73da70d964d85851bd20d87362fcfd2 (diff) | |
parent | c737b01035cb62712b1dabcfef6f5014bdc882d1 (diff) |
merge master
Diffstat (limited to 'src/example/game.cpp')
-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 f5b6f4f..76ea8c2 100644 --- a/src/example/game.cpp +++ b/src/example/game.cpp @@ -82,7 +82,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); |