mirror of
https://github.com/Reuh/ubiquitousse.git
synced 2025-10-27 17:19:31 +00:00
second -> millisecond. More adapt unit and avoid precision loss when working on float numbers.
This commit is contained in:
parent
39198a3bd3
commit
0b99502708
7 changed files with 23 additions and 15 deletions
|
|
@ -12,7 +12,7 @@ local scene = require((...):match("^(.-abstract)%.")..".scene")
|
|||
-- end
|
||||
return {
|
||||
--- Called each time the game loop is ran. Don't draw here.
|
||||
-- @tparam number dt time since last call, in seconds
|
||||
-- @tparam number dt time since last call, in miliseconds
|
||||
-- @impl mixed
|
||||
update = function(dt)
|
||||
input.update(dt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue