Пример #1
0
        public override ProgrammingElement Clone()
        {
            WanderSelector clone = new WanderSelector();

            CopyTo(clone);
            return(clone);
        }
Пример #2
0
 protected void CopyTo(WanderSelector clone)
 {
     base.CopyTo(clone);
     clone.wanderArcMin     = this.wanderArcMin;
     clone.wanderArcRange   = this.wanderArcRange;
     clone.wanderRangeMin   = this.wanderRangeMin;
     clone.wanderRangeRange = this.wanderRangeRange;
     clone.wanderTargetHit  = this.wanderTargetHit;
     clone.strength         = this.strength;
 }