Esempio n. 1
0
 public WideReceiver(string _name, int _age, double _weight, string _position, double receptions, double recyards, double rectouchdowns)
 {
     this.Name = _name;
     this.Age = _age;
     this.Weight = _weight;
     this.Position = _position;
     WideReceiver widereceiver = new WideReceiver();
     widereceiver.Receptions = receptions;
     widereceiver.ReceivingYards = recyards;
     widereceiver.ReceivingTouchdowns = rectouchdowns;
     this.OverallRating = CalcOverallRating(widereceiver.Receptions, widereceiver.ReceivingYards, widereceiver.ReceivingTouchdowns);
 }
Esempio n. 2
0
        public WideReceiver(string _name, int _age, double _weight, string _position, double receptions, double recyards, double rectouchdowns)
        {
            this.Name     = _name;
            this.Age      = _age;
            this.Weight   = _weight;
            this.Position = _position;
            WideReceiver widereceiver = new WideReceiver();

            widereceiver.Receptions          = receptions;
            widereceiver.ReceivingYards      = recyards;
            widereceiver.ReceivingTouchdowns = rectouchdowns;
            this.OverallRating = CalcOverallRating(widereceiver.Receptions, widereceiver.ReceivingYards, widereceiver.ReceivingTouchdowns);
        }