整理代码,改正时间字符串格式少删个字母
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
local int,format=math.floor,string.format
|
||||
return function(s)
|
||||
if s<60 then
|
||||
return format("%.3fs\"",s)
|
||||
return format("%.3f\"",s)
|
||||
elseif s<3600 then
|
||||
return format("%d'%05.2f\"",int(s/60),s%60)
|
||||
else
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
local gc=love.graphics
|
||||
local int=math.floor
|
||||
|
||||
local scene={}
|
||||
|
||||
local timer
|
||||
|
||||
function scene.sceneInit()
|
||||
timer=1
|
||||
end
|
||||
function scene.sceneInit()timer=1 end
|
||||
|
||||
scene.keyDown=NULL
|
||||
scene.mouseDown=NULL
|
||||
|
||||
Reference in New Issue
Block a user