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