Beispiel #1
0
        void RemoveSoul(SoulType soulType)
        {
            ActiveSouls.Remove(soulType);
            var soul = Soul.New(soulType, LoadoutSouls);

            soul.DeactivateUniqueEffect();
            LoadoutSouls.DeregisterChild(soul);
        }
Beispiel #2
0
        private void AddSoul(SoulType soulType)
        {
            ActiveSouls.Add(soulType);
            var soul = Soul.New(soulType, LoadoutSouls);

            soul.ActivateUniqueEffect();
            LoadoutSouls.DeregisterChild(soul);
        }
Beispiel #3
0
 public override void OnLoaded()
 {
     foreach (var soulType in ActiveSouls)
     {
         var soul = Soul.New(soulType, LoadoutSouls);
         soul.ActivateUniqueEffect();
         LoadoutSouls.DeregisterChild(soul);
     }
     base.OnLoaded();
 }