public Game(DateTime when, Sport sport, Team team1, Team team2) { this.when = when; this.sport = sport; this.team1 = team1; this.team2 = team2; }
public virtual void SetSport(Sport sport) { this.sport = sport; }
public virtual void SetFavoriteSport(Sport favoriteSport) { this.favoriteSport = favoriteSport; }
public Player(string name, DateTime birthDate, Sport favoriteSport) { this.name = name; this.birthDate = birthDate; this.favoriteSport = favoriteSport; }