更改场景内更新和绘制的方法名

This commit is contained in:
MrZ626
2020-12-05 12:52:02 +08:00
parent 27d8aac39e
commit f5d4866996
33 changed files with 57 additions and 57 deletions

View File

@@ -93,7 +93,7 @@ function scene.keyDown(key)
end
end
function scene.Tmr()
function scene.update()
for _,M in next,MODOPT do
if M.sel==0 then
if M.time>0 then
@@ -106,7 +106,7 @@ function scene.Tmr()
end
end
end
function scene.Pnt()
function scene.draw()
setFont(40)
gc.setLineWidth(5)
for _,M in next,MODOPT do