예제 #1
0
 public Mesa(int apuesta)
 {
     this.jugadores  = new List <Jugador>();
     this.Crupier    = new Crupier(dinero_total);
     this.Repartidor = new Repartidor();
     this.apuesta    = apuesta;
 }
예제 #2
0
        public void recombertirDat(Dictionary <string, object> mes)
        {
            this.jugadores = recombertirList((List <Dictionary <string, object> >)mes["jugadores"]);
            Crupier cru = new Crupier();

            cru.recombertirDat((Dictionary <string, object>)mes["Crupier"]);
            this.Crupier = cru;
            Repartidor rep = new Repartidor();

            rep.recombertirDat((Dictionary <string, object>)mes["Repartidor"]);
            this.Repartidor = rep;
            this.apuesta    = (int)mes["apuesta"];
        }