14 lines
196 B
Lua
14 lines
196 B
Lua
|
return function(draw)
|
||
|
|
||
|
function draw:lineWidth(w)
|
||
|
love.graphics.setLineWidth(w)
|
||
|
return self
|
||
|
end
|
||
|
|
||
|
function draw:line(x1, y1, x2, y2)
|
||
|
love.graphics.line(x1, y1, x2, y2)
|
||
|
return self
|
||
|
end
|
||
|
|
||
|
end
|