예제 #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;
 }