1
0
Fork 0
mirror of https://github.com/Reuh/ubiquitousse.git synced 2025-10-28 17:49:31 +00:00

Rename time to timer

This commit is contained in:
Étienne Fildadut 2019-12-25 16:15:40 +01:00
parent b5324faace
commit 82bc7268e6
9 changed files with 37 additions and 37 deletions

View file

@ -0,0 +1,6 @@
local timer = require((...):match("^(.-%.)backend").."timer")
local ctr = require("ctr")
timer.get = ctr.time
return timer

7
timer/backend/love.lua Normal file
View file

@ -0,0 +1,7 @@
local timer = require((...):match("^(.-%.)backend").."timer")
timer.get = function()
return love.timer.getTime() * 1000
end
return timer