public ProducerController(Producer p, PlanetController pc, IActorRef actorTextOutput) { _model = p; _planetC = pc; _actorTextOutput = actorTextOutput; _bp = BluePrints.GetBluePrint(p.BluePrintType); }
private static BluePrint createBluePrint(BluePrintEnum type, String name, List<ResourceQuantity> produces, List<ResourceQuantity> consumes, int baseTicks) { BluePrint bp = new BluePrint(type, name, produces, consumes, baseTicks); return bp; }
private static BluePrint createBluePrint(BluePrintEnum type, String name, List <ResourceQuantity> produces, List <ResourceQuantity> consumes, int baseTicks) { BluePrint bp = new BluePrint(type, name, produces, consumes, baseTicks); return(bp); }