Refonte pour utiliser le systeme de GUI #112
1 changed files with 2 additions and 0 deletions
|
@ -23,7 +23,9 @@ function DrawableElement:parseOrigin(origin, size)
|
||||||
end
|
end
|
||||||
|
|
||||||
function DrawableElement:draw()
|
function DrawableElement:draw()
|
||||||
|
love.graphics.setColor(1, 1, 1, self.opacity)
|
||||||
love.graphics.draw(self.drawable, self.x,self.y,self.r,self.sx,self.sy,self.ox,self.oy)
|
love.graphics.draw(self.drawable, self.x,self.y,self.r,self.sx,self.sy,self.ox,self.oy)
|
||||||
|
love.graphics.setColor(1, 1, 1, 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
return DrawableElement
|
return DrawableElement
|
Loading…
Reference in a new issue