整理代码,goto标签名字统一格式方便理解

This commit is contained in:
MrZ626
2021-03-25 12:50:33 +08:00
parent 053a5a55e6
commit 742e9419be
8 changed files with 28 additions and 28 deletions

View File

@@ -80,12 +80,12 @@ function scene.touchMove()
if B.ava then
for i=1,#L,2 do
if(L[i]-B.x)^2+(L[i+1]-B.y)^2<=B.r^2 then
goto continue
goto CONTINUE_nextKey
end
end
PLAYERS[1]:releaseKey(n)
end
::continue::
::CONTINUE_nextKey::
end
end
function scene.keyDown(key)