public ArmorUnit IncreaseArmor(ArmorUnit armorUnit) { ArmorAmount += armorUnit.ArmorAmount; if (Name != null) { Name += $" plus {armorUnit.Name}"; } else { Name = armorUnit.Name; } return(this); }
public BasicArmor(ArmorUnit armU) : base(armU) { basic = armU; }
public ArmorDecorator(Armor newarmor, ArmorUnit arUnit) : base(arUnit) { this.armor = newarmor; }