com.eriksilkensen.sudoku
Class InventoryBoardFactory

java.lang.Object
  extended by com.eriksilkensen.sudoku.InventoryBoardFactory
All Implemented Interfaces:
BoardFactory

public class InventoryBoardFactory
extends java.lang.Object
implements BoardFactory

Short but important Factory that uses an InventoryHelper to grab serialized Board objects from the Inventory.

As of 02/13/07, this is the Factory that should be used in almost all cases.

Since:
1.0
Version:
02/13/07
Author:
Erik Silkensen

Constructor Summary
InventoryBoardFactory()
          Initializes the InventoryHelper
 
Method Summary
 Board createBoard(BoardDifficulties difficulty)
          Creates the Board
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InventoryBoardFactory

public InventoryBoardFactory()
Initializes the InventoryHelper

Method Detail

createBoard

public Board createBoard(BoardDifficulties difficulty)
Creates the Board

Specified by:
createBoard in interface BoardFactory