/// <summary> /// Constructor /// </summary> /// <param name="quota"> /// Sets the quota for product to be made for each backroom /// </param> /// <param name="typeOfShop"> /// Enum of types of shop to be created. /// </param> public Store(int quota, ShopType typeOfShop) { Quota = quota; Shop = ShopFactory.ShopFactory.CreateShop(typeOfShop); Name = Shop.GetName(); Backroom = new Backroom(); ProductsForSale = Backroom.CreateMultipleStatues(5); ProductsSold = new List <IStatue>(); StoreIsOpen = true; }