diff --git a/sonic-radiance.love/scenes/battlesystem/entities/character.lua b/sonic-radiance.love/scenes/battlesystem/entities/character.lua index 0f09779..81cc783 100644 --- a/sonic-radiance.love/scenes/battlesystem/entities/character.lua +++ b/sonic-radiance.love/scenes/battlesystem/entities/character.lua @@ -138,4 +138,16 @@ function Character:getBackSignal() self:setAnimation("walk") end +function Character:drawStatus(frame, x, y) + love.graphics.draw(frame, x, y) + local y1 = y + 8 + local x1 = x + 16 + local x2 = x1 + 120 + love.graphics.setColor(.05, .8, .05, 1) + for i=0, 3 do + love.graphics.line(x1-i, y1+i, x2-i, y1+i) + end + utils.graphics.resetColor() +end + return Character