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

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

@@ -133,7 +133,7 @@ function scene.keyDown(key)
end
end
function scene.Tmr()
function scene.update()
local dx,dy=0,0
local F
if not SCN.swapping then
@@ -187,7 +187,7 @@ function scene.Tmr()
end
end
function scene.Pnt()
function scene.draw()
local _
gc.push("transform")
gc.translate(640,360)