Interface IAutoPlayer

All Superinterfaces:
IPlayer
All Known Implementing Classes:
AbstractAutoPlayer, BadAutoPlayer

public interface IAutoPlayer
extends IPlayer

Add method for auto/computer player to the standard player interface. An autoplayer will be associated with a model, so will use the model to find words on a board automatically.

Author:
Owen Astrachan

Method Summary
 java.util.SortedSet<java.lang.String> getAllValidWords(int minLength)
          Return all the valid words as found by the player, presumably automatically.
 
Methods inherited from interface IPlayer
add, getName, getScore, initialize, setView
 

Method Detail

getAllValidWords

java.util.SortedSet<java.lang.String> getAllValidWords(int minLength)
Return all the valid words as found by the player, presumably automatically.

Parameters:
minLength - of words found by an autoplayer
Returns:
set of all strings found by autoplayer