我們直接以實例展示如何撰寫Lua 模組:. -- point.lua local Point = {} package.loaded["Point"] = Point Point.__index = Point function Point:new(x, ...
確定! 回上一頁