lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


That PhysValue class is weird in that it does not have a 'getUnit' method. Seems easy to add:

function PhysValue:getUnit () return self.symbol end

Or maybe the user should just index 'symbol', but that's a weird name for unit.