Example #1
0
        private Casino(RouletteMachine rlm, Lottery lot)
        {
            accounts  = new List <iAccount>();
            Update_On = true;

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