Example #1
0
 public MainWindowVM()
 {
     SuperHeroeActual  = 1;
     _servicio         = new ServicioSuperheroe();
     NuevoSuperHeroe   = new Superheroe();
     ListaSuperheroes  = _servicio.ObtenerSuperHeroes();
     NumeroSuperHeroes = ListaSuperheroes.Count;
 }
Example #2
0
 public MainWindow()
 {
     InitializeComponent();
     Superheroe    s = new Superheroe();
     Configuracion c = new Configuracion();
 }
Example #3
0
 public void VaciarSuperHeroe()
 {
     NuevoSuperHeroe = new Superheroe(); //Heroe = true
 }
Example #4
0
 public void AƱadirSuperHeroe()
 {
     ListaSuperheroes.Add(NuevoSuperHeroe);
     NumeroSuperHeroes++;
     NuevoSuperHeroe = new Superheroe(); //Heroe = true
 }