moagg.prefs.handicap
Class HandicapPrefs

java.lang.Object
  extended by moagg.prefs.AbstractPrefs
      extended by moagg.prefs.handicap.HandicapPrefs

public class HandicapPrefs
extends AbstractPrefs


Field Summary
 
Fields inherited from class moagg.prefs.AbstractPrefs
prefs
 
Constructor Summary
protected HandicapPrefs()
           
 
Method Summary
protected  moagg.prefs.handicap.HandicapPrefs.MissionInfo ensureMissionInfo(java.lang.String mission)
           
 int getHandicap(java.lang.String mission)
           
static HandicapPrefs getInstance()
           
 int getLastPlayedLevel(java.lang.String mission)
           
 void updateHandicap(java.lang.String mission, int handicap)
           
 void updateLastPlayedLevel(java.lang.String mission, int lastPlayed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandicapPrefs

protected HandicapPrefs()
Method Detail

getInstance

public static HandicapPrefs getInstance()

getLastPlayedLevel

public int getLastPlayedLevel(java.lang.String mission)

getHandicap

public int getHandicap(java.lang.String mission)

updateLastPlayedLevel

public void updateLastPlayedLevel(java.lang.String mission,
                                  int lastPlayed)

updateHandicap

public void updateHandicap(java.lang.String mission,
                           int handicap)

ensureMissionInfo

protected moagg.prefs.handicap.HandicapPrefs.MissionInfo ensureMissionInfo(java.lang.String mission)


Copyright © 2008. All Rights Reserved.