com.askywhale.missing
Class GameFactory

java.lang.Object
  extended by com.askywhale.missing.GameFactory

public class GameFactory
extends java.lang.Object


Constructor Summary
GameFactory(int nbHumanPlayers, int nbComputerPlayers, int maxScore)
           
 
Method Summary
 Game getGame()
           
 Game getGame(Game oldGame)
           
 int getMaxScore()
           
 int getNbComputerPlayers()
           
 int getNbHumanPlayers()
           
 void setMaxScore(int maxScore)
           
 void setNbComputerPlayers(int nbComputerPlayers)
           
 void setNbHumanPlayers(int nbHumanPlayers)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameFactory

public GameFactory(int nbHumanPlayers,
                   int nbComputerPlayers,
                   int maxScore)
Method Detail

getGame

public Game getGame()

getGame

public Game getGame(Game oldGame)

getMaxScore

public int getMaxScore()

setMaxScore

public void setMaxScore(int maxScore)

getNbComputerPlayers

public int getNbComputerPlayers()

setNbComputerPlayers

public void setNbComputerPlayers(int nbComputerPlayers)

getNbHumanPlayers

public int getNbHumanPlayers()

setNbHumanPlayers

public void setNbHumanPlayers(int nbHumanPlayers)