讓我們來看看使用麵向對象的Lua中一個完整的例子。 -- Meta class Shape = {area = 0} -- Base class method new function Shape:new (o,side) o = o or ...
確定! 回上一頁