This is how I currently do my classes in Lua. function newObject() local o ... self) -- constructor function Foo:method() print("example function") ...
確定! 回上一頁