示例#1
0
 // Reset aller Spielstände - Delegate
 public void HSReset()
 {
     game.Highscores.RessetAll();
     Resetall.unloadPrompt();
     this.Activity = true;
     game.GameStates.Menu.Action = true;
 }
示例#2
0
 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;
 }
示例#3
0
 public void HSReset()
 {
     game.Highscores.Reset(menu.HighscoreMenu.Difficult);
     prompt.unloadPrompt();
     menu.HighscoreMenu.Active = true;
 }