Пример #1
0
        private Casino(RouletteMachine rlm, Lottery lot)
        {
            accounts  = new List <iAccount>();
            Update_On = true;

            roulette = rlm;
            lottery  = lot;
        }
Пример #2
0
 public static Casino getInstance(RouletteMachine rlm, Lottery lot)
 {
     if (instance != null)
     {
         return(null);
     }
     else
     {
         return(new Casino(rlm, lot));
     }
 }