Example #1
0
 public void QuitarBaston()
 {
     if (this.Baston != null)
     {
         this.AttackDmg = this.AttackDmg - this.Baston.AttackDmg;
         this.Baston    = null;
     }
     else
     {
         Console.WriteLine("No posee este item");
     }
 }
Example #2
0
 public void AgregarBaston(Baston baston)
 {
     if (this.Baston == null)
     {
         this.Baston    = baston;
         this.AttackDmg = this.attackdmg + baston.AttackDmg;
     }
     else
     {
         Console.WriteLine("Ya posee este item");
     }
 }
Example #3
0
 public void Setup()
 {
     Gandalf = new Mago("Gandalf");
     Baston  = new Baston();
     Libro   = new Libro();
 }