コード例 #1
0
ファイル: Market.cs プロジェクト: gkjolin/Prosperity-Wars
 /// <summary>
 /// Just transfers it to StorageSet.convertToCheapestStorageProduct(Storage)
 /// </summary>
 internal Storage GetRandomCheapestSubstitute(Storage need)
 {
     return(marketPrice.ConvertToRandomCheapestStorageProduct(need));
 }
コード例 #2
0
 /// <summary>
 /// Just transfers it to StorageSet.convertToCheapestStorageProduct(Storage)
 /// </summary>
 public Storage GetRandomCheapestSubstitute(Storage need)
 {
     return(prices.ConvertToRandomCheapestStorageProduct(need, this));
 }