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

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

@@ -126,7 +126,7 @@ function scene.keyUp(key)
end
end
function scene.Tmr(dt)
function scene.update(dt)
dt=dt*600
--Update cubes' position
@@ -189,7 +189,7 @@ function scene.Tmr(dt)
end
end
function scene.Pnt()
function scene.draw()
--Health bar
if life1>0 then
gc.setColor(1,0,0)