예제 #1
0
 public Caballo(eVelocidad velocidad, string tiempodeuso, string color, string raza) : base(velocidad, tiempodeuso)
 {
     this.color = color;
     this.raza  = raza;
 }
예제 #2
0
 public Auto(eVelocidad velocidad, string tiempodeuso, int cantruedas, string patente)
     : base(velocidad, tiempodeuso)
 {
     this.cantRuedas = cantruedas;
     this.patente    = patente;
 }
예제 #3
0
 public Transporte(eVelocidad velocidad, string tiempodeuso)
 {
     this._tiempoDeUso  = tiempodeuso;
     this._velocidadMax = velocidad;
 }
예제 #4
0
 public Cohete(eVelocidad velocidad, string tiempodeuso, string modelo, int tiempodevidautil)
     : base(velocidad, tiempodeuso)
 {
     this.modelo           = modelo;
     this.tiempoDeVidaUtil = tiempodevidautil;
 }
예제 #5
0
 public Bicicleta(double rodado, eVelocidad velocidad, string tiempodeuso) : base(velocidad, tiempodeuso)
 {
     this.rodado = rodado;
 }