feat: add more info to character panel
This commit is contained in:
parent
64947f145e
commit
b799586a4c
1 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,15 @@ end
|
|||
|
||||
function CharacterPanel:drawContent(x, y)
|
||||
local debugString = "# " .. self.character.name .. "(" .. "Lvl " .. self.character.level .. ")" .. "\n"
|
||||
local debugString = debugString .. "EXP: " .. self.character.exp .. " / " .. self.character.exp_next .. "\n"
|
||||
local debugString = debugString .. "HP: " .. self.character.hp .. " / " .. self.character.stats.hpmax .. "\n"
|
||||
local debugString = debugString .. "PP: " .. self.character.pp .. " / " .. self.character.stats.ppmax .. "\n"
|
||||
local debugString = debugString .. "ATK: " .. self.character.stats.attack
|
||||
local debugString = debugString .. " DEF: " .. self.character.stats.defense
|
||||
local debugString = debugString .. " SPD: " .. self.character.stats.speed .. "\n"
|
||||
local debugString = debugString .. "POW: " .. self.character.stats.power
|
||||
local debugString = debugString .. " MND: " .. self.character.stats.mind
|
||||
local debugString = debugString .. " TEK: " .. self.character.stats.technic .. "\n"
|
||||
|
||||
love.graphics.print(debugString, x, y)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue