public void Next(int position)
    {
        // Save in place (a ajouter)

        menuGUI.Slot = position;
        menuGUI.MenuGoNext(0);
        SaveGameMenu.enabled = false;
    }
 public void Next()
 {
     if (menuGUI.statAllocation.readyForNext == true)
     {
         menuGUI.MenuGoNext(0);
         StatAllocationMenu.enabled = false;
     }
     else
     {
         menuGUI.dialogue.UpdateDialogue(false, (string)((ArrayList)RefErrors[2])[2], (string)((ArrayList)RefErrors[2])[3], (string)((ArrayList)RefErrors[2])[4]);
     }
 }
 public void Next()
 {
     if (!(HistoryChoice == 0))
     {
         menuGUI.MenuGoNext(0);
         menuGUI.WasPredefinedPath   = true;
         PreDefinedSelection.enabled = false;
     }
     else
     {
         menuGUI.dialogue.UpdateDialogue(false, (string)((ArrayList)RefErrors[4])[2], (string)((ArrayList)RefErrors[4])[3], (string)((ArrayList)RefErrors[4])[4]);
     }
 }
    public void Next()
    {
        if (System.Convert.ToInt32(((ArrayList)menuGUI.PlayerAccountStatsBefore[menuGUI.Slot])[2]) == 0)
        {
            menuGUI.MenuGoNext(0);
            BackgroundSelection.enabled = false;
        }
        else
        {
            UpdateDetails();

            if (TestDetails() == true)
            {
                menuGUI.MenuGoNext(0);
                BackgroundSelection.enabled = false;
            }
            else
            {
                menuGUI.dialogue.UpdateDialogue(false, (string)((ArrayList)RefErrors[3])[2], (string)((ArrayList)RefErrors[3])[3], (string)((ArrayList)RefErrors[3])[4]);
            }
        }
    }
示例#5
0
 public void Next(int position)
 {
     //Load à ajouter
     if (!((string)((ArrayList)Names[position])[2] == null))
     {
         menuGUI.Slot = position;
         menuGUI.MenuGoNext(0);
         LoadGameMenu.enabled = false;
     }
     else
     {
         menuGUI.dialogue.UpdateDialogue(true, (string)((ArrayList)RefErrors[5])[2], (string)((ArrayList)RefErrors[5])[3], (string)((ArrayList)RefErrors[5])[4]);
     }
 }
    public void Next()
    {
        if (System.Convert.ToInt32(((ArrayList)menuGUI.PlayerAccountStatsBefore[menuGUI.Slot])[2]) == 0)
        {
            menuGUI.PlayerLastName = Name;
        }
        else
        {
            menuGUI.PlayerFirstName = Name;
        }

        menuGUI.MenuGoNext(0);
        SaveNameCanvas.enabled = false;
    }
    public void Next()
    {
        menuGUI.lastActionWasNext = true;

        if ((!(HistoryChoice == 0) && !(currentStep == PlayerHistoryStep.GENUS)) || ((HistoryChoice >= 7) && (currentStep == PlayerHistoryStep.GENUS)))
        {
            HistorySelectionNext();
            if (currentStep == PlayerHistoryStep.END)
            {
                HistorySelection.enabled  = false;
                menuGUI.WasPredefinedPath = false;
                menuGUI.MenuGoNext(0);
            }
        }
        else
        {
            menuGUI.dialogue.UpdateDialogue(true, (string)((ArrayList)RefErrors[1])[2], (string)((ArrayList)RefErrors[1])[3], (string)((ArrayList)RefErrors[1])[4]);
        }
    }
 public void Next(int mode)
 {
     menuGUI.MenuGoNext(mode);
     NewGameMenu.enabled = false;
 }
示例#9
0
 public void StartNewGame()
 {
     menuGUI.MenuGoNext(1);
     GameMenu.enabled = false;
 }