整理代码,Zframework添加数学扩展模块

This commit is contained in:
MrZ626
2021-11-15 15:46:57 +08:00
parent 7710f0b70f
commit fa0bc3805f
6 changed files with 26 additions and 18 deletions

View File

@@ -19,7 +19,7 @@ function scene.sceneInit()
end
function scene.touchDown(x,y,k)
--TODO
end
scene.mouseDown=scene.touchDown
@@ -41,10 +41,6 @@ function scene.keyDown(key,isRep)
end
end
function scene.update(dt)
end
function scene.draw()
setFont(30)
gc.print(inst,40,60)
@@ -52,6 +48,6 @@ function scene.draw()
end
scene.widgetList={
WIDGET.newButton{name="back", x=1140,y=640,w=170,h=80,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name="back", x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
}
return scene