|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Score retrieval interface
Method Summary | |
Score |
getScoreAt(int rank)
Get an entry from the first or only high score table for this application. |
Score |
getScoreAt(int table,
int rank)
Get an entry from one of the score tables for this application. |
Score[] |
getScoresAround(Actor actor,
int number)
Get the given number of entries centered on the best score of the given Actor in the first or only table. |
Score[] |
getScoresAround(int table,
Actor actor,
int number)
Get the given number of entries centered on the best score of the given Actor in the given table. |
Score[] |
getScoresAround(int rank,
int number)
Get the given number of entries centered on the given position in the first or only table. |
Score[] |
getScoresAround(int table,
int rank,
int number)
Get the given number of entries centered on the given position in the given table. |
Score[] |
getTopScores(int number)
Get the given number of entries from the top of the first or only table. |
Score[] |
getTopScores(int table,
int number)
Get the given number of entries from the top of the given table. |
Method Detail |
public Score getScoreAt(int rank)
rank
- The position in the table to get the score from.public Score getScoreAt(int table, int rank)
rank
- The position in the table to get the score from.public Score[] getScoresAround(Actor actor, int number)
actor
- Actor around whose best rank to take the scores.number
- Maximum number of scores to retrieve.public Score[] getScoresAround(int table, Actor actor, int number)
actor
- Actor around whose best rank to take the scores.number
- Maximum number of scores to retrieve.public Score[] getScoresAround(int rank, int number)
rank
- Rank about which to take the scores.number
- Maximum number of scores to retrieve.public Score[] getScoresAround(int table, int rank, int number)
rank
- Rank about which to take the scores.number
- Maximum number of scores to retrieve.public Score[] getTopScores(int number)
number
- Maximum number of scores to retrieve.public Score[] getTopScores(int table, int number)
number
- Maximum number of scores to retrieve.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |