public Decorate(HeavyUnit B) { health = Convert.ToInt16(B.Helth()); maxAttack = base.maxAttack; maxHealth = base.maxHealth; cost = B.GetCost(); }
public override IUnit MC() { IUnit A = new HeavyUnit(); A = (HeavyUnit)this.MemberwiseClone(); return((IUnit)A); }