예제 #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;
 }