整理代码

框架跟进
This commit is contained in:
MrZ_26
2022-09-28 19:36:10 +08:00
parent 33c470dd38
commit bc9f00d09f
27 changed files with 45 additions and 47 deletions

View File

@@ -7,9 +7,9 @@ return{
PLY.draw.drawTargetLine(P,r)
end,
task=function(P)
YIELD()
coroutine.yield()
while true do
for _=1,P.holeRND:random(40,200)do YIELD()end
for _=1,P.holeRND:random(40,200)do coroutine.yield()end
local r=P.holeRND:random(7)
if r==1 then
if P.cur and not P:ifoverlap(P.cur.bk,P.curX-1,P.curY)then