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

19 lines
357 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 = {}
2019-02-04 08:38:40 +01:00
self.datas.characters = require "datas.subgame.sonic-boost.characters"
2019-02-04 08:36:29 +01:00
end
function SonicBoost:getCharacterData(name)
return self.datas.character[name]
end
function SonicBoost:getData()
return self.datas
end
return SonicBoost