sjrd.tricktakinggame.rules.whist
Class WhistProvider

java.lang.Object
  extended by sjrd.tricktakinggame.rules.whist.WhistProvider
All Implemented Interfaces:
RulesProvider

public class WhistProvider
extends Object
implements RulesProvider

Fournisseur de règles de Whist

Author:
sjrd

Constructor Summary
WhistProvider()
           
 
Method Summary
 String getID()
          ID de ce fournisseur de règles
 int getMaxPlayerCount()
          Nombre maximum de joueurs
 int getMinPlayerCount()
          Nombre minimum de joueurs
 String getName()
          Nom du jeu
 Rules newRules(int playerCount)
          Crée un objet règles pour un nombre donné de joueurs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhistProvider

public WhistProvider()
Method Detail

getID

public String getID()
ID de ce fournisseur de règles

Specified by:
getID in interface RulesProvider
Returns:
ID

getName

public String getName()
Nom du jeu

Specified by:
getName in interface RulesProvider
Returns:
Nom du jeu

getMinPlayerCount

public int getMinPlayerCount()
Nombre minimum de joueurs

Specified by:
getMinPlayerCount in interface RulesProvider
Returns:
Nombre minimum de joueurs

getMaxPlayerCount

public int getMaxPlayerCount()
Nombre maximum de joueurs

Specified by:
getMaxPlayerCount in interface RulesProvider
Returns:
Nombre maximum de joueurs

newRules

public Rules newRules(int playerCount)
Crée un objet règles pour un nombre donné de joueurs

Specified by:
newRules in interface RulesProvider
Parameters:
playerCount - Nombre de joueurs
Returns:
Règles