Interface IPlayerView


public interface IPlayerView


Method Summary
 void showError(java.lang.String word, java.lang.String message)
          Show an error during the game.
 void showWord(java.lang.String word, java.util.List<BoardCell> list, IPlayer player)
          A view should support some way to visualize a player's word found on a board at some set of board locations.
 

Method Detail

showWord

void showWord(java.lang.String word,
              java.util.List<BoardCell> list,
              IPlayer player)
A view should support some way to visualize a player's word found on a board at some set of board locations.

Parameters:
word - is word visualized
list - of BoardCells the word is found on (on some board)
player - is the player finding a word

showError

void showError(java.lang.String word,
               java.lang.String message)
Show an error during the game.

Parameters:
word - is cause of error, e.g., duplicate, not in lexicon
message - is displayed with the word