bdd-creature/classes/beastfile.lua
2024-08-01 23:14:47 +02:00

14 lines
No EOL
320 B
Lua

local BeastFile = Object:extend()
local DataList = require "classes.datalist"
function BeastFile:new(folder, name)
self.filepath = folder .. "/" .. name
print("Loading " .. self.filepath)
self.datas = DataList()
end
function BeastFile:prepareJson()
return self.datas:prepareJson()
end
return BeastFile