Beispiel #1
0
 public VictoryConditionRow(ObjectiveSuccessTrigger Trigger)
     : base("scenario-victory-condition-row")
 {
     Add(new Button("scenario-victory-condition-header")
     {
         DisplayedString = ObjectDescriber.Describe(Trigger.SuccessLevel)
     });
     Add(new Button("scenario-victory-condition")
     {
         DisplayedString = ObjectDescriber.Describe(Trigger)
     });
 }
 public static string Describe(ObjectiveSuccessTrigger Trigger)
 {
     return(Sentencify(
                ObjectiveDescriber.Describe(
                    new TriggerObjective(Trigger.Objective, Trigger.Threshold, Trigger.Invert))));
 }