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