org.tiling.game.prisonersdilemma
Class PrisonersDilemmaGameFactory

java.lang.Object
  |
  +--org.tiling.game.TwoPlayerGameFactory
        |
        +--org.tiling.game.prisonersdilemma.PrisonersDilemmaGameFactory

public class PrisonersDilemmaGameFactory
extends TwoPlayerGameFactory


Method Summary
 TwoPlayerGame createGame(Player player1, Player player2, int length)
           
static TwoPlayerGameFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TwoPlayerGameFactory getInstance()

createGame

public TwoPlayerGame createGame(Player player1,
                                Player player2,
                                int length)
Specified by:
createGame in class TwoPlayerGameFactory