function Spot.removeArt(Y)Y.artId=nil Y.ownerUserId=nil if Y.onArtChanged then Y.onArtChanged(Y.artId,Y.ownerUserId)end end function Spot.hasArt(Y)return Y.artId~=nil and Y.ownerUserId~=nil end return Spot

function Spot:removeArt()
	self.artId = nil
	self.ownerUserId = nil

	if self.onArtChanged then
		self.onArtChanged(self.artId, self.ownerUserId)
	end
end

function Spot:hasArt()
	return self.artId ~= nil and self.ownerUserId ~= nil
end

return Spot
