a
This commit is contained in:
parent
26f22c172b
commit
8e05669ff2
1 changed files with 5 additions and 1 deletions
|
|
@ -33,6 +33,10 @@ local _,advancedTween = pcall(require,"libs.AdvancedTween"); ---@module "src.lib
|
||||||
local _,round = pcall(require,"libs.round"); ---@module "src.libs.round"
|
local _,round = pcall(require,"libs.round"); ---@module "src.libs.round"
|
||||||
|
|
||||||
local idSpace = {};
|
local idSpace = {};
|
||||||
|
|
||||||
|
---@return table this
|
||||||
|
---@return quad_module_round round
|
||||||
|
---@return quad_module_tween tween
|
||||||
function module.init(id)
|
function module.init(id)
|
||||||
if id then
|
if id then
|
||||||
local last = idSpace[id];
|
local last = idSpace[id];
|
||||||
|
|
@ -55,7 +59,7 @@ function module.init(id)
|
||||||
if id then
|
if id then
|
||||||
idSpace[id] = this;
|
idSpace[id] = this;
|
||||||
end
|
end
|
||||||
return this;
|
return this,this.round,this.class,this.mount,this.store,this.event,this.tween;
|
||||||
end
|
end
|
||||||
|
|
||||||
function module.uninit(id)
|
function module.uninit(id)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue