Пример #1
0
 public ProducerController(Producer p, PlanetController pc, IActorRef actorTextOutput)
 {
     _model = p;
     _planetC = pc;
     _actorTextOutput = actorTextOutput;
     _bp = BluePrints.GetBluePrint(p.BluePrintType);
 }
Пример #2
0
 private Producer GetProducer(String seedName, BluePrintEnum bpType)
 {
     Producer prod = new Producer();
     prod.Name = seedName;
     prod.BluePrintType = bpType;
     prod.Producing = false;
     prod.AutoResumeProduction = true;
     prod.ProduceNThenStop = 0;
     return prod;
 }