예제 #1
0
 private void LoseBattle()
 {
     if (this.gameOver)
     {
         return;
     }
     this.gameOver = true;
     AnimationQueue.Add(() =>
                        GameEndText.CreateText(this.gameEndAnimation, false, this.transform), 4f);
     AnimationQueue.Add(App.ResetGame, 0);
 }
예제 #2
0
 private void WinBattle()
 {
     if (this.gameOver)
     {
         return;
     }
     this.gameOver = true;
     AnimationQueue.Add(() =>
                        GameEndText.CreateText(this.gameEndAnimation, true, this.transform), 4f);
     AnimationQueue.Add(() => {
         Hand.instance.DiscardHand();
         WindowManager.ShowScreen(WindowManager.lootUI);
     }, 0);
 }