public ProducerController(Producer p, PlanetController pc, IActorRef actorTextOutput) { _model = p; _planetC = pc; _actorTextOutput = actorTextOutput; _bp = BluePrints.GetBluePrint(p.BluePrintType); }
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; }