整理代码,修复泄露到全局的几个变量

This commit is contained in:
MrZ626
2021-02-11 13:35:57 +08:00
parent 67c8ee3c94
commit a28e25c4fb
3 changed files with 4 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ local rnd=math.random
local scene={}
local state
local bx,by=640,360--Ball posotion
local vx,vy=0,0--Ball velocity
local ry=0--Rotation Y

View File

@@ -1,5 +1,7 @@
local scene={}
local sure
function scene.sceneInit()
sure=false
end