public BluePrint(BluePrintEnum type, String name, List <ResourceQuantity> produces, List <ResourceQuantity> consumes, int baseTicks) { Type = type; Name = name; Produces = produces; Consumes = consumes; BaseTicks = baseTicks; }
public BluePrint(BluePrintEnum type, String name, List<ResourceQuantity> produces, List<ResourceQuantity> consumes, int baseTicks) { Type = type; Name = name; Produces = produces; Consumes = consumes; BaseTicks = baseTicks; }
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); }
public static BluePrint GetBluePrint(BluePrintEnum bpType) { int bpIdx = (int)bpType; return types_Var[bpIdx]; }
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 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; }
public static BluePrint GetBluePrint(BluePrintEnum bpType) { int bpIdx = (int)bpType; return(types_Var[bpIdx]); }
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); }