public void OnRequestHighScore()
        {
            List <KeyValuePair <string, int> > highscoreList;

            try
            {
                highscoreList = highscores.GetEntries();
            }
            catch (SQLiteException e)
            {
                view.ShowError("Bestenliste konnte nicht geladen werden:" + Environment.NewLine + e.Message, "Fehler beim Laden der Bestenliste");
                return;
            }
            view.ShowHighScore(highscoreList);
        }
Exemple #2
0
 public HighscoreEntry[] GetHighscores(int gameTimeId)
 {
     return(m_highscores.GetEntries(gameTimeId));
 }