Example #1
0
 public DrawableInnateOption(string thresholds, string description)
 {
     Elements    = ElementCounts.Parse(thresholds);
     Description = description;
 }
Example #2
0
 public SlowButFastIfAttribute(string triggerElements) : base(Phase.Slow)
 {
     this.triggerElements = ElementCounts.Parse(triggerElements);
 }
Example #3
0
 public Task <bool> YouHave(string elementString) => Self.HasElements(ElementCounts.Parse(elementString));
Example #4
0
 public FastButSlowIfAttribute(string triggerElements) : base(Phase.Fast)
 {
     this.triggerElements = ElementCounts.Parse(triggerElements);
 }
Example #5
0
 public MinorCardAttribute(string name, int cost, string elementString)
     : base(name, cost, PowerType.Minor, ElementCounts.Parse(elementString))
 {
 }
 public InnateOptionAttribute(string elementText, string description, int group = 0)
 {
     Elements    = ElementCounts.Parse(elementText);
     Description = description;
     Group       = group;
 }
 /// <summary>
 /// Non-executable.  Called from dirived class
 /// </summary>
 protected InnateOptionAttribute(string elementText, string description)
 {
     Elements    = ElementCounts.Parse(elementText);
     Description = description;
     Group       = null;
 }