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