local Parent = require "scenes.debug.menu.infopanel.parent" local CharacterPanel = Parent:extend() function CharacterPanel:new(character) CharacterPanel.super.new(self) self.character = character end function CharacterPanel:drawContent(x, y) local debugString = "# " .. self.character.name .. "(" .. "Lvl " .. self.character.level .. ")" .. "\n" love.graphics.print(debugString, x, y) end return CharacterPanel