新增玩家排版函数,不再需要生成玩家同时指定坐标,添加动画位移方法;玩家task升级为同task模块
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user