|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--zork2Class.HighScoreFile
the class HighScoreReader creation :5 juin 2003 at 23:28:43
Constructor Summary | |
HighScoreFile(java.lang.String dungeon)
the constructor for HighScoreReader |
Method Summary | |
java.util.Vector |
readScore()
method :Vector readScore read the high score file |
boolean |
writeScore(java.lang.String name,
long score)
method :boolean writeScore write the high score in the high score file if score is in the 10 best high score |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HighScoreFile(java.lang.String dungeon)
Method Detail |
public java.util.Vector readScore()
public boolean writeScore(java.lang.String name, long score)
name
- player namescore
- player score
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |