Class StandardBoardMaker

java.lang.Object
  extended by StandardBoardMaker
All Implemented Interfaces:
IBoardMaker

public class StandardBoardMaker
extends java.lang.Object
implements IBoardMaker

Supply a random BoggleBoard that's either 4x4 or 5x5 using standard cubes from Boggle and Big Boggle, respectively. Uses the BoggleFactory's random number generator.


Constructor Summary
StandardBoardMaker()
           
 
Method Summary
 BoggleBoard makeBoard(int rows)
          Returns random boggle board of specified number of rows, boards are square.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardBoardMaker

public StandardBoardMaker()
Method Detail

makeBoard

public BoggleBoard makeBoard(int rows)
Returns random boggle board of specified number of rows, boards are square.

Specified by:
makeBoard in interface IBoardMaker
Parameters:
rows - is number of rows (and columns) in returned board.
Returns:
squre BoggleBoard of specified size