Esempio n. 1
0
    public LeaderBoard()
    {
        highscoreManager = new OnlineHighScore();
        board            = highscoreManager.getScores();
        updateTimer      = 0;

        //Add back button
        backButton          = new Button("BACK", Color.LightGreen, Color.DarkGreen, Fonts.FNT_MENU);
        backButton.Position = SCREEN_SIZE.ToVector2() - backButton.Dimensions;
        Add(backButton);
    }
Esempio n. 2
0
 public HandleHighscores()
 {
     highscoreHandler = new OnlineHighScore();
     scoreBoard       = highscoreHandler.getScores();
 }