public void Initialize(Country country) { priceHistory = new PricePool(); foreach (var item in Product.getAll().Where(x => !x.isAbstract())) { if (item != Product.Gold) { prices.Set(new Storage(item, (float)item.defaultPrice.Get())); } } Country = country; }
internal void initialize() { priceHistory = new PricePool(); }