fix: remove forgotten unused function

This commit is contained in:
Kazhnuz 2021-08-08 09:53:48 +02:00
parent 01b450fef7
commit 91dda9fa87
2 changed files with 1 additions and 6 deletions

View file

@ -68,7 +68,7 @@ function AbstractCharacter:createSkills()
end
function AbstractCharacter:finishDeserialization()
self:createStats()
end
return AbstractCharacter

View file

@ -57,10 +57,6 @@ function CharacterManager:levelUp(name)
self.list[name]:levelUp()
end
function CharacterManager:recalculateStats(name)
self.list[name]:createStats()
end
function CharacterManager:heal(name)
self.list[name]:heal()
end
@ -82,7 +78,6 @@ function CharacterManager:setData(data)
local data = data
self.team = data.team
for name, charData in pairs(data.list) do
print(self.list[name])
self.list[name]:setData(charData)
end
end