feat: add way to draw empty icons
This commit is contained in:
parent
486aa019d7
commit
0fe46dea91
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue