public void AddMarket(Resource resource) { Market market = new Market(resource); Markets.Add(resource.Type, market); market.AssignTown(this); AddResource(resource); }