Exemple #1
0
 public static Croupier getInstance(string name)
 {
     if (instance == null)
     {
         instance = new Croupier(name);
     }
     return(instance);
 }
Exemple #2
0
 public void startGame(string cr_name)
 {
     this.croupier = Croupier.getInstance(cr_name);
     Console.WriteLine("Start game: yours croupier name - " + this.croupier.Name);
 }