sonic-bluestreak/sonic-boost.love/game/subgame/sonic-boost.lua

19 lines
337 B
Lua
Raw Normal View History

2019-02-04 08:36:29 +01:00
local SonicBoost = Object:extend()
function SonicBoost:new(controller)
self.controller = controller
self.datas = {}
self.datas.characters = require "datas.characters"
end
function SonicBoost:getCharacterData(name)
return self.datas.character[name]
end
function SonicBoost:getData()
return self.datas
end
return SonicBoost