移除Zframework,准备使用submodule

This commit is contained in:
MrZ626
2022-01-03 14:35:10 +08:00
parent 8fa2e055d5
commit 94e06fab4a
33 changed files with 0 additions and 6031 deletions

View File

@@ -1,25 +0,0 @@
local IMG={}
function IMG.init(list)
IMG.init=nil
setmetatable(IMG,{__index=function(self,name)
if type(list[name])=='table'then
self[name]={}
for i=1,#list[name]do
self[name][i]=love.graphics.newImage(list[name][i])
end
elseif type(list[name])=='string'then
self[name]=love.graphics.newImage(list[name])
else
LOG("No IMG: "..name)
self[name]=PAPER
end
return self[name]
end})
function IMG.loadAll()
for k in next,list do local _=IMG[k]end
IMG.loadAll=nil
end
end
return IMG