|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.bluebones.boggle.BoardChecker
public class BoardChecker
Utility class that allows checking that words can be made from a given board configuration.
| Constructor Summary | |
|---|---|
BoardChecker(char[][] letters)
Initialises a BoardChecker with the specified letters. |
|
| Method Summary | |
|---|---|
boolean |
checkWord(String wordToCheck)
Checks whether the specified word can be made from this board. |
static void |
main(String[] args)
Simple commandline test of BoardChecker. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoardChecker(char[][] letters)
letters - Letters to initialise the board with.| Method Detail |
|---|
public boolean checkWord(String wordToCheck)
wordToCheck - Word to look for on the board.
true) or not (false).public static void main(String[] args)
args - Commandline arguments.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||