efficom.runningjoe.services
Class ProfileManager

java.lang.Object
  extended by efficom.runningjoe.services.ProfileManager

public class ProfileManager
extends java.lang.Object

Profile operations.


Method Summary
static ProfileManager getInstance()
           
 void persist()
          Persists the player's profile.
 Profile retrieveProfile()
          Retrieves the player's profile, creating one if needed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final ProfileManager getInstance()

retrieveProfile

public Profile retrieveProfile()
Retrieves the player's profile, creating one if needed.


persist

public void persist()
Persists the player's profile.

If no profile is available, this method does nothing.