moagg.prefs.score
Class ScorePrefs

java.lang.Object
  extended by moagg.prefs.AbstractPrefs
      extended by moagg.prefs.score.ScorePrefs

public class ScorePrefs
extends AbstractPrefs


Field Summary
 
Fields inherited from class moagg.prefs.AbstractPrefs
prefs
 
Constructor Summary
protected ScorePrefs()
           
 
Method Summary
 boolean addScore(LevelKey levelKey, ScoreEntry entry)
           
 ScoreEntry getBestScoreOfPlayer(LevelKey levelKey, java.lang.String name)
           
static ScorePrefs getInstance()
           
 ScoreEntries getScoreEntries(LevelKey levelKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScorePrefs

protected ScorePrefs()
Method Detail

getInstance

public static ScorePrefs getInstance()

getScoreEntries

public ScoreEntries getScoreEntries(LevelKey levelKey)

addScore

public boolean addScore(LevelKey levelKey,
                        ScoreEntry entry)

getBestScoreOfPlayer

public ScoreEntry getBestScoreOfPlayer(LevelKey levelKey,
                                       java.lang.String name)


Copyright © 2008. All Rights Reserved.