|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectGameField.HighScore
public class HighScore
| Field Summary | |
|---|---|
static java.lang.String |
HIGHSCORE_FILE
|
private static java.util.Vector<Player> |
players
|
static int |
TAILLE_CLASSEMENT
|
| Constructor Summary | |
|---|---|
HighScore()
|
|
| Method Summary | |
|---|---|
static java.util.Vector<Player> |
getPlayers()
Get the value of players |
static void |
loadScores(java.lang.String filename)
load highscores in file filename |
static void |
putPlayer(Player p)
Put the player p in high score if it's necessary |
static void |
saveScores(java.lang.String filename)
Save high scores in file filename |
static void |
setPlayers(java.util.Vector<Player> value)
Set the value of players |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String HIGHSCORE_FILE
private static java.util.Vector<Player> players
public static final int TAILLE_CLASSEMENT
| Constructor Detail |
|---|
public HighScore()
| Method Detail |
|---|
public static java.util.Vector<Player> getPlayers()
public static void loadScores(java.lang.String filename)
filename - public static void putPlayer(Player p)
p - public static void saveScores(java.lang.String filename)
filename - public static void setPlayers(java.util.Vector<Player> value)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||