feat: add way to draw empty icons

This commit is contained in:
Kazhnuz 2021-09-12 09:57:57 +02:00
parent 486aa019d7
commit 0fe46dea91

View file

@ -184,5 +184,13 @@ function gui.getEmeraldsTexture(number)
return texture return texture
end end
function gui.drawEmptyIcon(x, y)
local outlineLight = 0.15
love.graphics.circle("fill", x + 8, y + 8, 2, 8)
love.graphics.setColor(outlineLight, outlineLight, outlineLight, 1)
love.graphics.circle("line", x + 8, y + 8, 2, 8)
utils.graphics.resetColor()
end
return gui return gui