// Reset aller Spielstände - Delegate public void HSReset() { game.Highscores.RessetAll(); Resetall.unloadPrompt(); this.Activity = true; game.GameStates.Menu.Action = true; }
private void CommitScore() { prompt.SetPlayerName(game.GameStates.Profil.SpielereinstellungenList, "Playername"); game.GameStates.Profil.writeProfilSpielereinstellungen(game.GameStates.Profil.SpielereinstellungenList); this.score.Playername = game.GameStates.Profil.CurrentProfil.Playername; game.Highscores.AddScore((Score)this.score, this.game, this.game.GameStates.Profil.CurrentProfil.Difficult, true); if (prompt.Promptchecked) { Thread thread = new Thread(OnlineScore.PostScore); thread.Start(game); } prompt.Activity = false; prompt.Visible = false; scoring = false; prompt.unloadPrompt(); this.Activity = true; }
public void HSReset() { game.Highscores.Reset(menu.HighscoreMenu.Difficult); prompt.unloadPrompt(); menu.HighscoreMenu.Active = true; }