View Javadoc

1   package cz.cuni.amis.pogamut.ut2004.tournament.match.result;
2   
3   import cz.cuni.amis.utils.token.IToken;
4   
5   /**
6    * Represents the result of the TEAM match (very limited).
7    * and the winner.
8    * 
9    * @author Jimmy
10   */
11  public class UT2004TeamMatchResult extends UT2004MatchResult {
12  
13  	private int winnerTeam;
14  	private boolean draw;
15  
16  	public UT2004TeamMatchResult() {
17  		super(false);
18  	}
19  	
20  	public UT2004TeamMatchResult(int winnerTeam) {
21  		super(false);
22  		this.winnerTeam = winnerTeam;
23  	}
24  
25  	public int getWinnerTeam() {
26  		return winnerTeam;
27  	}
28  
29  	public void setWinnerTeam(int winnerTeam) {
30  		this.winnerTeam = winnerTeam;
31  	}
32  	
33  	public boolean isDraw() {
34  		return draw;
35  	}
36  
37  	public void setDraw(boolean draw) {
38  		this.draw = draw;
39  	}
40  	
41  }