public override UnitBonuses getBonuses(UnitBonuses bonuses)
 {
     if (bonuses == null)
     {
         bonuses = new UnitBonuses();
     }
     return(bonuses);
 }
 public override UnitBonuses getBonuses(UnitBonuses bonuses = null)
 {
     if (bonuses == null)
     {
         bonuses = new UnitBonuses();
     }
     bonuses.Attack += 3;
     return(this._component.getBonuses(bonuses));
 }
 public override UnitBonuses getBonuses(UnitBonuses bonuses = null)
 {
     if (bonuses == null)
     {
         bonuses = new UnitBonuses();
     }
     bonuses.Defence += 2;
     return(this._component.getBonuses(bonuses));
 }
Beispiel #4
0
 public virtual UnitBonuses getBonuses(UnitBonuses bonuses = null)
 {
     return(bonuses);
 }