整理Zframework代码

给所有模块进行更合理的分类
解除部分模块之间的依赖
修复image和bgm模块两个一般不会触发的小问题
close #209
This commit is contained in:
MrZ626
2021-08-16 13:43:51 +08:00
parent fc8d19756d
commit 42620bf739
8 changed files with 71 additions and 142 deletions

View File

@@ -12,7 +12,7 @@ function IMG.init(list)
elseif type(list[name])=='string'then
self[name]=love.graphics.newImage(list[name])
else
MES.new('warn',"No BGM: "..name,5)
MES.new('warn',"No IMG: "..name,5)
self[name]=null
end
return self[name]