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

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

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