整理注释

This commit is contained in:
MrZ_26
2020-08-03 16:37:43 +08:00
parent 8b1e406c42
commit 25fe724bf8
2 changed files with 6 additions and 4 deletions

View File

@@ -3,9 +3,10 @@ local Tick={}
function Tick.finish(P)
P.endCounter=P.endCounter+1
if P.endCounter<40 then
--Make field visible
for j=1,#P.field do for i=1,10 do
if P.visTime[j][i]<20 then P.visTime[j][i]=P.visTime[j][i]+.5 end
end end--Make field visible
end end
elseif P.endCounter==60 then
return true
end
@@ -13,9 +14,10 @@ end
function Tick.lose(P)
P.endCounter=P.endCounter+1
if P.endCounter<40 then
--Make field visible
for j=1,#P.field do for i=1,10 do
if P.visTime[j][i]<20 then P.visTime[j][i]=P.visTime[j][i]+.5 end
end end--Make field visible
end end
elseif P.endCounter>80 then
for i=1,#P.field do
for j=1,10 do