Implement POSITIONABLE:GetRadio() and small fixes in Radio.lua

This commit is contained in:
Grey-Echo
2017-03-10 23:32:33 +01:00
parent 59bba1e17e
commit fc3ad53ebe
2 changed files with 9 additions and 6 deletions

View File

@@ -33,12 +33,11 @@ MESSAGE = {
-- @TODO Manage Trace in all functions below
--- Create a new RADIO Object. This doesn't broadcast a transmission, though, use @{Radio#RADIO.Broadcast} to actually broadcast
-- @param self
-- @param #POSITIONABLE Positionable
-- @return self
-- @usage
-- -- If you want to create a RADIO, you probably should use @{Positionable#POSITIONABLE.GetRadio}
function RADIO:New(positionable)
function RADIO.New(positionable)
local self = BASE:Inherit( self, BASE:New() )
-- self:F( { MessageText, MessageDuration, MessageCategory } )