sonic-radiance/sonic-radiance.love/game/abstractmobs/character/datas.lua
2021-05-08 12:54:07 +02:00

11 lines
317 B
Lua

local CharacterData = Object:extend()
local charutils = require "game.utils.characters"
function CharacterData:getCommonData()
self.data = charutils.getCharacterData(self.simplename)
self.name = self.data.name
self.fullname = self.data.fullname
self.turns = self.data.turns
end
return CharacterData