更改场景内更新和绘制的方法名
This commit is contained in:
@@ -78,7 +78,7 @@ function scene.keyDown(key)
|
||||
end
|
||||
end
|
||||
|
||||
function scene.Tmr()
|
||||
function scene.update()
|
||||
local S=sceneTemp
|
||||
if S.state==1 then
|
||||
S.frameKeyCount=0
|
||||
@@ -86,7 +86,7 @@ function scene.Tmr()
|
||||
end
|
||||
end
|
||||
|
||||
function scene.Pnt()
|
||||
function scene.draw()
|
||||
local S=sceneTemp
|
||||
|
||||
setFont(40)
|
||||
|
||||
Reference in New Issue
Block a user