摘要:
local _class = {} function class(super) local class_type = {} class_type.ctor = false class_type.super = super class_type.new = function(...) local obj = {} ---super支... 阅读全文
摘要:
--四舍五入 function rounding(value) local positive = 1 if value < 0 then positive = -1 end value = math.abs(value) local int, decimal = math.modf(value) d 阅读全文