diff --git a/lib/light.lua b/lib/light.lua index ba76fb8..a463ac8 100644 --- a/lib/light.lua +++ b/lib/light.lua @@ -206,4 +206,8 @@ function light:drawPixelShadow(l,t,w,h,s, normalMap, canvas) end end +function light:setVisible(visible) + self.visible = visible +end + return light