public WallsPositioner(MaterialContainer blueprintMaterials, PunctualComponentPositioner anOpeningManager, float aWidth, float aLength) { materials = blueprintMaterials; openingManager = anOpeningManager; Length = aLength; Width = aWidth; }
public Blueprint(int aLength, int aWidth, string aName, MaterialContainer container) { Length = aLength; Width = aWidth; Name = aName; materials = container; signatures = new List <Signature>(); id = Guid.NewGuid(); punctualComponentManager = new PunctualComponentPositioner(materials, Width, Length); wallsManager = new WallsPositioner(materials, punctualComponentManager, Width, Length); }
public Blueprint(int aLength, int aWidth, string aName, User anOwner, MaterialContainer container, ICollection <Signature> someSignatures, Guid anId) { Length = aLength; Width = aWidth; Name = aName; Owner = anOwner; signatures = someSignatures; materials = container; id = anId; punctualComponentManager = new PunctualComponentPositioner(materials, Width, Length); wallsManager = new WallsPositioner(materials, punctualComponentManager, Width, Length); }
public PunctualComponentPositioner(MaterialContainer blueprintMaterials, float aWidth, float aLength) { materials = blueprintMaterials; Length = aLength; Width = aWidth; }