public static string Describe(TilesControlledObjective Objective) { return(string.Format( "%score% tiles {0} under {1} control", MatcherDescriber.Describe(Objective.Matcher), Objective.Friendly ? "friendly" : "enemy")); }
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))); }
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))); }