protected AlignableElement() { Clothe = new Clothe(new ClotheCalculateStrategy(this)); }
public void Calculate(IClothe clothe) { clothe.Width = Element.Width; clothe.Height = Element.Height; }
public void Calculate(IClothe clothe) { clothe.Width = 2.5*Element.Length; clothe.Height = Element.Depth; }