quad/src/mount.lua
2021-09-12 00:41:36 +09:00

20 lines
No EOL
319 B
Lua

local module = {};
function module.init(shared)
local new = {};
-- we should add plugin support
function new.mount(to,this)
this.Parent = to;
end
setmetatable(new,{
__call = function (self,...)
self.mount(...);
end;
});
return new;
end
return module;