Skip to content

Commit

Permalink
Added function to add intermidiate zones for task forces (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
birgersp committed Jan 8, 2017
1 parent 76edec7 commit dc3944b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions autogft/taskforce.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc3944b

Please sign in to comment.