예제 #1
0
 public void Siguiente()
 {
     controladorTutorial.SeleccionInventario();
     currentIndex++;
     if (currentIndex >= listaInventario.Pistas.Count)
     {
         currentIndex = 0;
     }
     ProcesoPista();
 }
 public void Siguiente()
 {
     controladorTutorial.SeleccionInventario();
     currentIndex++;
     if (currentIndex >= manejadorDialogos.Motivos.Count)
     {
         currentIndex = 0;
     }
     ProcesoMotivo();
 }
예제 #3
0
    public void Siguiente()
    {
        controladorTutorial.SeleccionInventario();

        currentIndex++;
        if (currentIndex >= sospechosos.SospechososEncontrados.Count)
        {
            currentIndex = 0;
        }
        ProcesoSospechoso();
    }
    public void Siguiente()
    {
        var  start = currentIndex;
        bool found = false;

        controladorTutorial.SeleccionInventario();

        while (!found)
        {
            currentIndex++;
            if (currentIndex >= listaInventario.Pistas.Count)
            {
                currentIndex = 0;
            }
            found = ProcesoPista();
            if (currentIndex == start)
            {
                found = true;
            }
        }
    }