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); }
public HighscoreEntry[] GetHighscores(int gameTimeId) { return(m_highscores.GetEntries(gameTimeId)); }