예제 #1
0
 public Sportsman(TypesOfSports sport, int howLongInSport, int numOfGoldMedals, bool isMaster, bool isOlympicChampion) : base()
 {
     this.SportType         = sport;
     this.HowLongInSport    = howLongInSport;
     this.NumOfGoldMedals   = numOfGoldMedals;
     this.IsMaster          = isMaster;
     this.IsOlympicChampion = isOlympicChampion;
 }
예제 #2
0
 public VolleyballPlayer(bool sex, bool marriage, string homeAddress, string name, string surname, string country, DateTime dateOfBirth, TypesOfSports sport, int howLongInSport, int numOfGoldMedals, bool isMaster, bool isOlympicChampion, Teams team, Position pos, string couch, int hitAccuracy) : base(sex, marriage, homeAddress, name, surname, country, dateOfBirth, sport, howLongInSport, numOfGoldMedals, isMaster, isOlympicChampion)
 {
     this.couch       = couch;
     this.Team        = team;
     this.Pos         = pos;
     this.HitAccuracy = hitAccuracy;
 }
예제 #3
0
 public TennisPlayer(bool sex, bool marriage, string homeAddress, string name, string surname, string country, DateTime dateOfBirth, TypesOfSports sport, int howLongInSport, int numOfGoldMedals, bool isMaster, bool isOlympicChampion, int RankingPos, Types type, Fields field, bool IsWimbledonWinner, double hitRate) : base(sex, marriage, homeAddress, name, surname, country, dateOfBirth, sport, howLongInSport, numOfGoldMedals, isMaster, isOlympicChampion)
 {
     this.RankingPosition   = RankingPos;
     this.PlayType          = type;
     this.FieldForGame      = field;
     this.IsWimbledonWinner = IsWimbledonWinner;
     this.HitRate           = hitRate;
 }
예제 #4
0
 public Sportsman(bool sex, bool marriage, string homeAddress, string name, string surname, string country, DateTime dateOfBirth, TypesOfSports sport, int howLongInSport, int numOfGoldMedals, bool isMaster, bool isOlympicChampion) : base(sex, marriage, homeAddress, name, surname, country, dateOfBirth)
 {
     this.SportType         = sport;
     this.HowLongInSport    = howLongInSport;
     this.NumOfGoldMedals   = numOfGoldMedals;
     this.IsMaster          = isMaster;
     this.IsOlympicChampion = isOlympicChampion;
 }