Progress on the new AISET_BALANCER class

This commit is contained in:
Sven Van de Velde
2016-08-24 14:34:04 +02:00
parent 167b0dd598
commit 0edb083d5d
64 changed files with 1133 additions and 506 deletions

View File

@@ -349,6 +349,21 @@ function SET_BASE:Remove( ObjectName )
end
--- Gets a @{Base#BASE} object from the @{Set#SET_BASE} and derived classes, based on the Object Name.
-- @param #SET_BASE self
-- @param #string ObjectName
-- @return Base#BASE
function SET_BASE:Get( ObjectName )
self:F( ObjectName )
local t = self.Set[ObjectName]
self:T3( { ObjectName, t } )
return t
end
--- Retrieves the amount of objects in the @{Set#SET_BASE} and derived classes.
-- @param #SET_BASE self
-- @return #number Count