WAREHOUSE

This commit is contained in:
funkyfranky
2018-08-07 16:21:02 +02:00
parent aa53004ec8
commit 891a725ccb
3 changed files with 250 additions and 63 deletions

View File

@@ -809,6 +809,16 @@ function SET_GROUP:GetAliveSet()
return AliveSet.Set or {}
end
--- Add a GROUP to SET_GROUP.
-- @param Core.Set#SET_GROUP self
-- @param Wrapper.Group#GROUP group The group which should be added to the set.
-- @return self
function SET_GROUP:AddGroup( group )
self:Add( group:GetName(), group )
return self
end
--- Add GROUP(s) to SET_GROUP.
-- @param Core.Set#SET_GROUP self
@@ -3968,6 +3978,17 @@ function SET_AIRBASE:New()
return self
end
--- Add an AIRBASE object to SET_AIRBASE.
-- @param Core.Set#SET_AIRBASE self
-- @param Wrapper.Airbase#AIRBASE airbase Airbase that should be added to the set.
-- @return self
function SET_AIRBASE:AddAirbase( airbase )
self:Add( airbase:GetName(), airbase )
return self
end
--- Add AIRBASEs to SET_AIRBASE.
-- @param Core.Set#SET_AIRBASE self
-- @param #string AddAirbaseNames A single name or an array of AIRBASE names.