diff --git a/autogft/taskforce.lua b/autogft/taskforce.lua index f462c3b..a042dd9 100644 --- a/autogft/taskforce.lua +++ b/autogft/taskforce.lua @@ -39,6 +39,16 @@ function autogft_TaskForce:new() return self end +--- +-- Adds an intermidiate zone task (see @{taskforcetask#autogft_taskTypes.INTERMIDIATE}). +-- @param #autogft_TaskForce self +-- @param #string zoneName +-- @return #autogft_TaskForce +function autogft_TaskForce:addIntermidiateZone(zoneName) + local task = autogft_TaskForceTask:new(zoneName, autogft_taskTypes.INTERMIDIATE) + return self:addTask(task) +end + --- -- Adds a task to the task force -- @param #autogft_TaskForce self