Пример #1
0
        public void Copy(ImpactBehaviourObject _object)
        {
            if (_object == null)
            {
                return;
            }

            base.Copy(_object);

            /*UseImpactDelay = _object.UseImpactDelay;
             * ImpactDelayMin = _object.ImpactDelayMin;
             * ImpactDelayMax = _object.ImpactDelayMax;
             * ImpactDelayMaximum = _object.ImpactDelayMaximum; */

            UseAttachOnHit         = _object.UseAttachOnHit;
            UseHideOnHit           = _object.UseHideOnHit;
            UseDestroyOnHit        = _object.UseDestroyOnHit;
            DestroyingDelayMin     = _object.DestroyingDelayMin;
            DestroyingDelayMax     = _object.DestroyingDelayMax;
            DestroyingDelayMaximum = _object.DestroyingDelayMaximum;
            HitCountMin            = _object.HitCountMin;
            HitCountMax            = _object.HitCountMax;
            HitCountMaximum        = _object.HitCountMaximum;
            AllowOwnImpacts        = _object.AllowOwnImpacts;

            //UseImpactOnDamage = _object.UseImpactOnDamage;
        }
Пример #2
0
 public ImpactBehaviourObject(ImpactBehaviourObject _object) : base(_object)
 {
     Copy(_object);
 }