Fixes issue #410

-- SpawnScheduleStart and SpawnScheduleStop now return self
-- Proper documentation
-- SPA-023 test mission added.
This commit is contained in:
FlightControl 2017-04-12 14:57:12 +02:00
parent 58935ec1e2
commit 989df023fb

View File

@ -944,17 +944,23 @@ end
--- Will re-start the spawning scheduler. --- Will re-start the spawning scheduler.
-- Note: This method is only required to be called when the schedule was stopped. -- Note: This method is only required to be called when the schedule was stopped.
-- @param #SPAWN self
-- @return #SPAWN
function SPAWN:SpawnScheduleStart() function SPAWN:SpawnScheduleStart()
self:F( { self.SpawnTemplatePrefix } ) self:F( { self.SpawnTemplatePrefix } )
self.SpawnScheduler:Start() self.SpawnScheduler:Start()
return self
end end
--- Will stop the scheduled spawning scheduler. --- Will stop the scheduled spawning scheduler.
-- @param #SPAWN self
-- @return #SPAWN
function SPAWN:SpawnScheduleStop() function SPAWN:SpawnScheduleStop()
self:F( { self.SpawnTemplatePrefix } ) self:F( { self.SpawnTemplatePrefix } )
self.SpawnScheduler:Stop() self.SpawnScheduler:Stop()
return self
end end