private void ClearPipes(Coordinate position, IEnumerable <DoubleEdgedPipe> pipes) { var removingPipes = new List <DoubleEdgedPipe>(pipes); foreach (var pipe in removingPipes) { blueprint.RemovePipe(position, pipe); } }