Пример #1
0
 public static IComparer <GatherOrder> Build(Robot robot)
 {
     return(GatherOrderComparerBuilder.Start()
            .Health()
            .UsedMolecules()
            .Expertise(robot)
            .Build());
 }
Пример #2
0
 private GatherOrderComparerBuilder(GatherOrderComparerBuilder parent, IComparer <GatherOrder> comparer)
 {
     this.parent   = parent;
     this.comparer = comparer;
 }