Exemple #1
0
        public void collect(DyePack dye)
        {
            dye.activate();
            collectedDyepacks += 1;

            if (weapon.GetType() == typeof(LimitedAmmoWeapon))
            {
                ((LimitedAmmoWeapon)weapon).recharge();
            }
        }
        public void collect(DyePack dye)
        {
            dye.activate();
            collectedDyepacks += 1;

            if (weapon.GetType() == typeof(LimitedAmmoWeapon))
            {
                ((LimitedAmmoWeapon)weapon).recharge();
            }
        }