新增玩家排版函数,不再需要生成玩家同时指定坐标,添加动画位移方法;玩家task升级为同task模块

This commit is contained in:
MrZ626
2020-12-08 01:12:53 +08:00
parent fcac817f11
commit 9e1df8b804
89 changed files with 230 additions and 166 deletions

View File

@@ -97,8 +97,9 @@ end
local function updateTasks(P)
local L=P.tasks
for i=#L,1,-1 do
assert(ct.resume(L[i]))
if ct.status(L[i])=="dead"then
local tr=L[i].thread
assert(ct.resume(tr))
if ct.status(tr)=="dead"then
rem(L,i)
end
end