private void Impact()
 {
     ScreenFader.SetColor(Color.clear);
     GenGameEnd.EndGameDialogMessage("GameOverPlanetkillerImpact".Translate(new object[]
     {
         Find.World.info.name
     }), false, GameCondition_Planetkiller.FadeColor);
 }
 public void GameEndTick()
 {
     if (this.gameEnding)
     {
         this.ticksToGameOver--;
         if (this.ticksToGameOver == 0)
         {
             GenGameEnd.EndGameDialogMessage("GameOverEveryoneDead".Translate(), true);
         }
     }
 }
Пример #3
0
 private void Impact()
 {
     ScreenFader.SetColor(Color.clear);
     GenGameEnd.EndGameDialogMessage("GameOverPlanetkillerImpact".Translate(Find.World.info.name), allowKeepPlaying: false, FadeColor);
 }
Пример #4
0
 public static void EndGameDialogMessage(string msg, bool allowKeepPlaying = true)
 {
     GenGameEnd.EndGameDialogMessage(msg, allowKeepPlaying, Color.clear);
 }