Lua 對物件導向「繼承」的支援頗類似JavaScript 的prototype 繼承,來 ... __index = Account function Account:new(o) o = o or {} setmetatable(o, ...
確定! 回上一頁