Esempio n. 1
0
 public Decorate(HeavyUnit B)
 {
     health    = Convert.ToInt16(B.Helth());
     maxAttack = base.maxAttack;
     maxHealth = base.maxHealth;
     cost      = B.GetCost();
 }
Esempio n. 2
0
        public override IUnit MC()
        {
            IUnit A = new HeavyUnit();

            A = (HeavyUnit)this.MemberwiseClone();
            return((IUnit)A);
        }