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
|