gamekeeper2a
Interface IGameResult

All Known Implementing Classes:
GameResult

public interface IGameResult

Information about a single, completed match or game.


Method Summary
 java.lang.String getLoserName()
          Tells the name of the loser of the match.
 int getLoserScore()
          Tells the score of the loser.
 java.lang.String getWinnerName()
          Tells the name of the winner of the match.
 int getWinnerScore()
          Tells the score of the winner.
 boolean isDraw()
          Tells whether or not the game was a draw.
 

Method Detail

isDraw

public boolean isDraw()
Tells whether or not the game was a draw.


getWinnerName

public java.lang.String getWinnerName()
Tells the name of the winner of the match. In case of a tie, this should return the lexicographically 1st name.


getLoserName

public java.lang.String getLoserName()
Tells the name of the loser of the match.


getWinnerScore

public int getWinnerScore()
Tells the score of the winner.


getLoserScore

public int getLoserScore()
Tells the score of the loser.