function Registry.removeAll(L)for L,m in pairs(L.objects)do m:destroy()end L.objects={}end return Registry

function Registry:removeAll()
	for _, object in pairs(self.objects) do
		object:destroy()
	end
	self.objects = {}
end

return Registry
