Exemple #1
0
 /// <summary>
 /// Initialise tout les joueurs
 /// </summary>
 /// <param name="nbPlayer">Nombre de joueurs</param>
 /// <param name="cash">L'argent qu'ils auront de base</param>
 private void initPLayer(int nbPlayer, int cash)
 {
     bank      = new PlayerBank(this);
     LstPlayer = new List <PlayerLambda>();
     for (int i = 0; i < nbPlayer; i++)
     {
         LstPlayer.Add(new PlayerLambda(this, bank, cash));
     }
 }
 public PlayerPro(Table g, PlayerBank b, int cash) : base(g, b, cash)
 {
 }
Exemple #3
0
 public PlayerLambda(Table g, PlayerBank b, int cash) : base(g, b, cash)
 {
 }
Exemple #4
0
 public Player(Table g, PlayerBank b, int cash)
 {
     this.GameTable = g;
     this.Bank      = b;
     Cash           = cash;
 }