Class PlayerLeaderboardEntry

    • Constructor Detail

      • PlayerLeaderboardEntry

        public PlayerLeaderboardEntry​(int position,
                                      Player player,
                                      long score,
                                      java.lang.String scoreSuffix)
        Constructor for a player leaderboard entry
        Parameters:
        player - player of the leaderboard entry
        score - score of the leaderboard entry
        scoreSuffix - suffix to use for the leaderboard entry
    • Method Detail

      • getPlayer

        public Player getPlayer()
        Retrieve the player this entry represents.
        Returns:
        the player