整理代码

This commit is contained in:
MrZ626
2021-04-28 09:36:22 +08:00
parent 385d376037
commit 28576c2c9a
28 changed files with 92 additions and 105 deletions

View File

@@ -2,7 +2,6 @@ local gc=love.graphics
local ms=love.mouse
local int,rnd=math.floor,math.random
local format=string.format
local rem=table.remove
local setFont=setFont
local mStr=mStr
@@ -122,7 +121,7 @@ end
function scene.draw()
setFont(40)
gc.setColor(1,1,1)
gc.print(format("%.3f",time),1026,80)
gc.print(("%.3f"):format(time),1026,80)
gc.print(mistake,1026,150)
setFont(70)