private Casino(RouletteMachine rlm, Lottery lot) { accounts = new List <iAccount>(); Update_On = true; roulette = rlm; lottery = lot; }
public static Casino getInstance(RouletteMachine rlm, Lottery lot) { if (instance != null) { return(null); } else { return(new Casino(rlm, lot)); } }