11 lines
245 B
Plaintext
11 lines
245 B
Plaintext
--並行處理節點
|
|
autoImport("LParentNode")
|
|
LParallelNode = class('LParallelNode',LParentNode)
|
|
|
|
function LParallelNode:Update()
|
|
local state
|
|
for i=1,#self.childrenNodes do
|
|
self.childrenNodes [i]:Update()
|
|
end
|
|
return TaskState.Running;
|
|
end |