Exemplo n.º 1
0
 public ActivatedAbility(CostEvent.CostGen[] costs, Func <OID, bool> condition, EffectEvent.Effect[] effects, Target[] targets)
 {
     this.costs.AddRange(costs);
     this.condition = condition;
     resolution     = new ResolutionAbility(effects, targets);
     SetConditionIfNull();
 }
Exemplo n.º 2
0
 public AbilityObject(OID source, ResolutionAbility resolutionAbility, AbilityType abilityType)
 {
     this.source            = source;
     this.resolutionAbility = resolutionAbility;
     this.abilityType       = abilityType;
 }
Exemplo n.º 3
0
 public GenerateAbilityObjectEvent(OID source, ResolutionAbility resolution, AbilityObject.AbilityType abilityType)
     : base(source)
 {
     this.resolution  = resolution;
     this.abilityType = abilityType;
 }