public GameOverScreen(Player player, gameOverType gtt) { IsPopup = false; TransitionOnTime = TimeSpan.FromSeconds(0.2); TransitionOffTime = TimeSpan.FromSeconds(0.2); if (player != null)HighScores.sendScore(player.name, player.score); got = gtt; this.player = player; }
public GameOverScreen(Player player, gameOverType gtt) { IsPopup = false; TransitionOnTime = TimeSpan.FromSeconds(0.2); TransitionOffTime = TimeSpan.FromSeconds(0.2); if (player != null) { HighScores.sendScore(player.name, player.score); } got = gtt; this.player = player; }