New implementations

of inheritance
of private - public methods ....

This is a big improvement for many!
This commit is contained in:
FlightControl
2017-07-01 12:32:44 +02:00
parent 5d2eb2ea15
commit 8e5af4ada4
15 changed files with 441 additions and 420 deletions

View File

@@ -365,7 +365,6 @@ end
--- Returns the POSITIONABLE velocity in km/h.
-- @param Wrapper.Positionable#POSITIONABLE self
-- @return #number The velocity in km/h
-- @return #nil The POSITIONABLE is not existing or alive.
function POSITIONABLE:GetVelocityKMH()
self:F2( self.PositionableName )
@@ -379,13 +378,12 @@ function POSITIONABLE:GetVelocityKMH()
return Velocity
end
return nil
return 0
end
--- Returns the POSITIONABLE velocity in meters per second.
-- @param Wrapper.Positionable#POSITIONABLE self
-- @return #number The velocity in meters per second.
-- @return #nil The POSITIONABLE is not existing or alive.
function POSITIONABLE:GetVelocityMPS()
self:F2( self.PositionableName )
@@ -398,7 +396,7 @@ function POSITIONABLE:GetVelocityMPS()
return Velocity
end
return nil
return 0
end