示例#1
0
 public static string Describe(TilesControlledObjective Objective)
 {
     return(string.Format(
                "%score% tiles {0} under {1} control",
                MatcherDescriber.Describe(Objective.Matcher),
                Objective.Friendly ? "friendly" : "enemy"));
 }
示例#2
0
 public static string Describe(UnitsMatchedObjective Objective)
 {
     return(string.Format(
                "%score% {0}{1} units {2}",
                Objective.CountPoints ? "points of " : "",
                Objective.Friendly ? "friendly" : "enemy",
                MatcherDescriber.Describe(Objective.Matcher)));
 }
示例#3
0
 public static string Describe(PathObjective Objective)
 {
     return(string.Format(
                "establish a path from tiles {0} to tiles {1} through tiles {2}",
                MatcherDescriber.Describe(Objective.Source),
                MatcherDescriber.Describe(Objective.Sink),
                MatcherDescriber.Describe(Objective.Path)));
 }