Esempio n. 1
0
 public Node(Team t1, Team t2, typeOfMatch type)
 {
     this.match  = new Match(t1, t2, type);
     rightLeaf   = null;
     leftLeaf    = null;
     isVisited   = false;
     this.parent = null;
 }
Esempio n. 2
0
 public Match(Team team1, Team team2, typeOfMatch type)
 {
     this.team1        = team1;
     this.team2        = team2;
     this.time         = 90;
     this.scoreTeam1   = 0;
     this.scoreTeam2   = 0;
     this.winner       = null;
     this.looser       = null;
     this.penaltyKick1 = 0;
     this.penaltyKick2 = 0;
     this.type         = type;
 }
Esempio n. 3
0
 public Match()
 {
     this.type = typeOfMatch.directElimination;
 }