fix: remove forgotten unused function
This commit is contained in:
parent
01b450fef7
commit
91dda9fa87
2 changed files with 1 additions and 6 deletions
|
@ -68,7 +68,7 @@ function AbstractCharacter:createSkills()
|
||||||
end
|
end
|
||||||
|
|
||||||
function AbstractCharacter:finishDeserialization()
|
function AbstractCharacter:finishDeserialization()
|
||||||
self:createStats()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return AbstractCharacter
|
return AbstractCharacter
|
||||||
|
|
|
@ -57,10 +57,6 @@ function CharacterManager:levelUp(name)
|
||||||
self.list[name]:levelUp()
|
self.list[name]:levelUp()
|
||||||
end
|
end
|
||||||
|
|
||||||
function CharacterManager:recalculateStats(name)
|
|
||||||
self.list[name]:createStats()
|
|
||||||
end
|
|
||||||
|
|
||||||
function CharacterManager:heal(name)
|
function CharacterManager:heal(name)
|
||||||
self.list[name]:heal()
|
self.list[name]:heal()
|
||||||
end
|
end
|
||||||
|
@ -82,7 +78,6 @@ function CharacterManager:setData(data)
|
||||||
local data = data
|
local data = data
|
||||||
self.team = data.team
|
self.team = data.team
|
||||||
for name, charData in pairs(data.list) do
|
for name, charData in pairs(data.list) do
|
||||||
print(self.list[name])
|
|
||||||
self.list[name]:setData(charData)
|
self.list[name]:setData(charData)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue