Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public CConsumer(int pQ, CMarketPlace mrkt)
 {
     myMarket         = mrkt;
     purchaseQuantity = pQ;
     lastPurchase     = CMainTicker.gameDateTime;
 }
Exemplo n.º 3
0
 public CConsumer(TimeSpan interval, CMarketPlace mrkt)
 {
     myMarket        = mrkt;
     actionIntervall = interval;
     lastPurchase    = CMainTicker.gameDateTime;
 }
Exemplo n.º 4
0
 public CConsumer(CMarketPlace mrkt)
 {
     myMarket     = mrkt;
     lastPurchase = CMainTicker.gameDateTime;
 }