|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjurpe.game.session.HighScores
public class HighScores
Container type for High Scores.
| Constructor Summary | |
|---|---|
HighScores()
Constructor. 20 rows. |
|
HighScores(int maxRows)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
addToScore(jurpe.game.session.Score nsc)
Add a new Score to current High Score Table. |
boolean |
addToScore(java.lang.String name,
int points)
Add a new Score to current High Score Table. |
java.lang.Object[][] |
getHighScores()
Get High Scores as an array made of Name,Date,Score. |
static void |
main(java.lang.String[] args)
Deprecated. |
void |
save(java.lang.String filename)
Saves actual HighScores |
void |
setDefaultHighScores()
Add default high scores to High Score table. |
java.lang.String |
toString()
String that represents the high score table |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HighScores(int maxRows)
maxRows - Max Number of entries this High Score Table can containpublic HighScores()
| Method Detail |
|---|
public boolean addToScore(jurpe.game.session.Score nsc)
nsc - Score to add
public boolean addToScore(java.lang.String name,
int points)
name - Name of PCharacterpoints - Final score of PCharacter
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object[][] getHighScores()
public void setDefaultHighScores()
public void save(java.lang.String filename)
filename - complete name and path of filepublic static void main(java.lang.String[] args)
args -
|
Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||