예제 #1
0
    /// <summary>
    /// Crea un objeto de serializacion con los valores actuales y guarda el progreso
    /// </summary>
    public void SaveProgress()
    {
        SerializationObject sObj = new SerializationObject(levelsCompleted, _virtualCoin, _adsBought,
                                                           _serializationVersion, _completedChallenges, _timeWhenChallengeDone, _timeWhenDailyRewardOpened);

        persistenceController.SaveFile(sObj);
    }