Creation of the first version of the airbase police ...

Monitoring airbase traffice at airports ...
This commit is contained in:
FlightControl
2016-06-11 21:27:20 +02:00
parent 85a419face
commit 55167e99c7
25 changed files with 368 additions and 11 deletions

View File

@@ -1464,14 +1464,14 @@ end
-- @param Zone#ZONE ZoneObject The Zone to be tested for.
-- @param #function IteratorFunction The function that will be called when there is an alive CLIENT in the SET_CLIENT. The function needs to accept a CLIENT parameter.
-- @return #SET_CLIENT self
function SET_CLIENT:ForEachClientCompletelyInZone( ZoneObject, IteratorFunction, ... )
function SET_CLIENT:ForEachClientInZone( ZoneObject, IteratorFunction, ... )
self:F2( arg )
self:ForEach( IteratorFunction, arg, self.Set,
--- @param Zone#ZONE_BASE ZoneObject
-- @param Client#CLIENT ClientObject
function( ZoneObject, ClientObject )
if ClientObject:IsCompletelyInZone( ZoneObject ) then
if ClientObject:IsInZone( ZoneObject ) then
return true
else
return false