Пример #1
0
 public CProducer(TimeSpan intervall, CMarketPlace mrkt, string name, TimeSpan spltime, TimeSpan tmToPrd, int shipThrsh)
 {
     actionIntervall   = intervall;
     myMarket          = mrkt;
     produceName       = name;
     spoilTime         = spltime;
     productionTime    = tmToPrd;
     shippingThreshold = shipThrsh;
     totalCost        += productionFixedCost;
 }
Пример #2
0
 public CConsumer(int pQ, CMarketPlace mrkt)
 {
     myMarket         = mrkt;
     purchaseQuantity = pQ;
     lastPurchase     = CMainTicker.gameDateTime;
 }
Пример #3
0
 public CConsumer(TimeSpan interval, CMarketPlace mrkt)
 {
     myMarket        = mrkt;
     actionIntervall = interval;
     lastPurchase    = CMainTicker.gameDateTime;
 }
Пример #4
0
 public CConsumer(CMarketPlace mrkt)
 {
     myMarket     = mrkt;
     lastPurchase = CMainTicker.gameDateTime;
 }