Esempio n. 1
0
 public Receiver(String name, int numberPlayer, ProbabilityWin probabilityWin) : base(name, numberPlayer, probabilityWin)
 {
 }
 public TennisPlayer(String name, int numberPlayer, ProbabilityWin probabilityWin) : base(name, numberPlayer)
 {
     this.probabilityWin = probabilityWin;
 }
 public void setProbabilityWin(ProbabilityWin probabilityWin)
 {
     this.probabilityWin = probabilityWin;
 }
 public TennisPlayer(String name, int numberPlayer) : base(name, numberPlayer)
 {
     this.probabilityWin = new ProbabilityWinPlayerDefault();
 }
 public TennisPlayer(String name, ProbabilityWin probabilityWin) : base(name)
 {
     this.probabilityWin = probabilityWin;
 }
 public TennisPlayer(String name) : base(name)
 {
     this.probabilityWin = new ProbabilityWinPlayerDefault();
 }
 public TennisPlayer(ProbabilityWin probabilityWin) : base()
 {
     this.probabilityWin = probabilityWin;
 }
 public TennisPlayer() : base()
 {
     this.probabilityWin = new ProbabilityWinPlayerDefault();
 }