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

19 lines
358 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)
2019-02-04 08:39:14 +01:00
return self.datas.characters[name]
2019-02-04 08:36:29 +01:00
end
function SonicBoost:getData()
return self.datas
end
return SonicBoost