p2.tictactoe
Class GameFactory

java.lang.Object
  extended by p2.tictactoe.GameFactory
Direct Known Subclasses:
GomokuFactory, TicTacToeFactory

public abstract class GameFactory
extends java.lang.Object

Version:
$Id: GameFactory.java,v 1.1 2005/03/02 14:32:34 oscar Exp $
Author:
$Author: oscar $

Field Summary
protected  BoardGame game_
           
 
Constructor Summary
GameFactory()
           
 
Method Summary
 BoardGame getGame()
           
protected abstract  BoardGame makeGame(Player X, Player O)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

game_

protected BoardGame game_
Constructor Detail

GameFactory

public GameFactory()
Method Detail

getGame

public BoardGame getGame()

makeGame

protected abstract BoardGame makeGame(Player X,
                                      Player O)