Example #1
0
 public Cocina()
 {
     this.alto         = 85;
     this.ancho        = 65;
     this.profundidad  = 65;
     this.alimentacion = (Alimentaciones)1;
 }
Example #2
0
 public Cocina(int alto, int ancho, int profundidad, Alimentaciones alimentacion)
 {
     this.alto         = alto;
     this.ancho        = ancho;
     this.profundidad  = profundidad;
     this.alimentacion = alimentacion;
 }
Example #3
0
        //Carga Aleatoria
        public override void AtributoBase()
        {
            Random rnd = new Random();

            base.AtributoBase();
            this.alto         = rnd.Next(80, 96);
            this.ancho        = rnd.Next(50, 121);
            this.profundidad  = rnd.Next(60, 71);
            this.alimentacion = ((Alimentaciones)(rnd.Next(1, 3)));
        }