Пример #1
0
 public ProducerController(Producer p, PlanetController pc, IActorRef actorTextOutput)
 {
     _model = p;
     _planetC = pc;
     _actorTextOutput = actorTextOutput;
     _bp = BluePrints.GetBluePrint(p.BluePrintType);
 }
Пример #2
0
 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;
 }
Пример #3
0
        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);
        }