Esempio n. 1
0
 public Boxer(string name, string surname, IFindCountry.Country country, int agility, int stamina, int speed, int strength)
     : base(name, surname, country)
 {
     _agility  = agility;
     _stamina  = stamina;
     _speed    = speed;
     _strength = strength;
 }
        public Footballer(string name, string surname, IFindCountry.Country country, GameStyle gameStyle,
                          int agility, int stamina, int speed, int strength)
            : base(name, surname, country)
        {
            Style = gameStyle;

            _agility  = agility;
            _stamina  = stamina;
            _speed    = speed;
            _strength = strength;
        }
 public Sportsman(string name, string surname, IFindCountry.Country country) : base(country)
 {
     Name    = name;
     Surname = surname;
 }
Esempio n. 4
0
 public Human(IFindCountry.Country country) : this()
 {
     this.Country = country;
     SelectCountry(country);
 }
Esempio n. 5
0
 public void SelectCountry(IFindCountry.Country country)
 {
     CountryFrom = country.ToString();
 }