Activate() private method

private Activate ( ) : void
return void
コード例 #1
0
ファイル: MessagePopup.cs プロジェクト: AftianSpheres/malta
 public void Close()
 {
     if (HasFlag(MessageFlags.LaunchAdventureOnClose))
     {
         advScreenChanger.Activate();
     }
     shell.Close();
 }
コード例 #2
0
 public void Depart()
 {
     int[] costs = { 0, 0, 0, GameDataManager.Instance.dataStore.nextRandomAdventureAnte, GameDataManager.Instance.dataStore.nextRandomAdventureAnte, GameDataManager.Instance.dataStore.nextRandomAdventureAnte };
     if (GameDataManager.Instance.dataStore.adventureLevel >= AdventureSubstageLoader.randomAdventureBaseLevel)
     {
         if (GameDataManager.Instance.SpendResourcesIfPossible(costs))
         {
             shell.Close();
             screenChanger.Activate();
         }
         else
         {
             insufficientResourcesPopup.Open();
         }
     }
     else
     {
         shell.Close();
         screenChanger.Activate();
     }
 }
コード例 #3
0
ファイル: BattleOverseer.cs プロジェクト: AftianSpheres/malta
    IEnumerator <float> LoseAndPrepareForAdventureExit()
    {
        messageBox.Step(BattleMessageType.Loss);
        yield return(Timing.WaitUntilDone(theater.LoseBattle()));

        while (theater.processing)
        {
            yield return(0f);
        }
        yield return(Timing.WaitForSeconds(battleStepLength));

        GameDataManager.Instance.BattleEndDataRefresh();
        screenChanger.Activate();
    }
コード例 #4
0
 public void ReturnFromBattle()
 {
     shell.Close();
     screenChanger.Activate();
 }