Refonte pour utiliser le systeme de GUI #112
1 changed files with 8 additions and 0 deletions
|
@ -184,5 +184,13 @@ function gui.getEmeraldsTexture(number)
|
|||
return texture
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue