Implements POSITIONNABLE:GetBeacon()

This commit is contained in:
Grey-Echo 2017-04-19 15:46:53 +02:00
parent 3c80fdafcd
commit bbcf6c4717

View File

@ -450,3 +450,11 @@ function POSITIONABLE:GetRadio()
self:F2(self)
return RADIO:New(self)
end
--- Create a @{Radio#BEACON}, to allow this POSITIONABLE to broadcast beacon signals
-- @param #POSITIONABLE self
-- @return #RADIO Radio
function POSITIONABLE:GetBeacon()
self:F2(self)
return BEACON:New(self)
end