public void BuyAds(FundStorage funds)
 {
     if (funds.TryTake(MarketingCost))
     {
         MarketingLevel += 1;
     }
 }
Пример #2
0
 public void TryPurchase(FundStorage funds)
 {
     if (funds.TryTake(Cost))
     {
         ClipperCount += 1;
     }
 }
 public bool TryPurchaseSpool(FundStorage funds, out Integer wire)
 {
     if (funds.TryTake(Cost))
     {
         Timer      = 0;
         BasePrice += Money.Cents(5);
         wire       = PerSpool;
         return(true);
     }
     else
     {
         wire = Integer.Zero;
         return(false);
     }
 }