Пример #1
0
 public OrthodoxTheory()
 {
     Father = new PersonOfGodhead();
     Son    = new Jesus {
         IsHuman = true, Divinity = DivinityStatus.Full
     };
     Spirit = new PersonOfGodhead();
 }
 public Partialism()
 {
     Father = new PartialGod();
     Son    = new Jesus {
         IsHuman = true, Divinity = DivinityStatus.Partial
     };
     Spirit = new PartialGod();
 }
Пример #3
0
 public Ebionitism()
 {
     Father = new FatherAloneAsGod();
     Son    = new Jesus {
         IsHuman = true, Divinity = DivinityStatus.None
     };
     Spirit = (Father as FatherAloneAsGod).Power;
 }
Пример #4
0
 public Docetism()
 {
     Father = new PersonOfGodhead();
     Son    = new Jesus {
         IsHuman = false, Divinity = DivinityStatus.Full
     };
     Spirit = new PersonOfGodhead();
 }
Пример #5
0
 public Arianism()
 {
     Father = new FatherAloneAsGod();
     Son    = new Jesus {
         IsHuman = true, Divinity = DivinityStatus.Partial
     };
     Spirit = (Father as FatherAloneAsGod).Power;
 }
Пример #6
0
        public Macedonianism()
        {
            Father = new PersonOfGodhead();
            Son    = new Jesus {
                IsHuman = true, Divinity = DivinityStatus.Full
            };
            Spirit = null;

            Task.Run(() =>
            {
                Thread.Sleep(SomePeriodOfTime);
                Spirit = new Entity();
            });
        }
        public Adoptionism()
        {
            Father = new FatherAloneAsGod();
            Son    = new Jesus {
                IsHuman = true, Divinity = DivinityStatus.None
            };
            Spirit = (Father as FatherAloneAsGod).Power;

            Task.Run(() =>
            {
                Thread.Sleep(SomePeriodOfTime);
                (Son as Jesus).Divinity = DivinityStatus.Full;
            });
        }
Пример #8
0
    void Awake()
    {
        Jesus save = Jesus.LoadJesus();

        if (save != null)
        {
            Dictionary <string, int> newLevelScores = new Dictionary <string, int>();
            for (int i = 0; i < save.levels.Count; i++)
            {
                newLevelScores.Add(save.levels[i], save.levelListScores[i]);
            }

            unlockedLevels = save.unlockedLevels;
            levelScores    = newLevelScores;
        }

        DontDestroyOnLoad(this);
        UpdateLevelStats();

        // Link le lancement du timer avec les events de lancement de partie
        SceneController.OnGameStart += OnGameStart;
        SceneController.OnGameEnd   += OnGameEnd;
    }
Пример #9
0
    void SaveProgress()
    {
        string currentLevelName = Application.loadedLevelName;

        SetLevelScore(currentLevelName, (int)timer);

        Jesus save = new Jesus();

        List <string> levels = new List <string>();
        List <int>    scores = new List <int>();

        foreach (KeyValuePair <string, int> kvp in levelScores)
        {
            levels.Add(kvp.Key);
            scores.Add(kvp.Value);
        }

        save.unlockedLevels  = unlockedLevels;
        save.levelListScores = scores;
        save.levels          = levels;

        save.SaveJesus();
    }
Пример #10
0
 public Modalism()
 {
     Father = Son = Spirit = new Jesus {IsHuman = true, Divinity = DivinityStatus.Full};
 }