sonic-bluestreak/sonic-boost.love/game/subgame/sonic-boost.lua
2019-02-04 08:39:14 +01:00

18 lines
358 B
Lua

local SonicBoost = Object:extend()
function SonicBoost:new(controller)
self.controller = controller
self.datas = {}
self.datas.characters = require "datas.subgame.sonic-boost.characters"
end
function SonicBoost:getCharacterData(name)
return self.datas.characters[name]
end
function SonicBoost:getData()
return self.datas
end
return SonicBoost