package com.burhanstore.neonbubblequest;

import android.content.Context;

public class GameSession {

    private static PrefHelper prefHelper;

    public static final String GAME_RANK = "game_rank";
    public static final String USER_PLAY_MODE = "game_mode";


    public static void setString(Context context, String preKey, String setString) {
        if (prefHelper == null) {
            prefHelper = new PrefHelper(context);
        }
        prefHelper.setString(preKey, setString);
    }

    public static String getString(Context context, String prefKey) {
        if (prefHelper == null) {
            prefHelper = new PrefHelper(context);
        }
        return prefHelper.getString(prefKey);
    }

}
