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(); }
public AbilityObject(OID source, ResolutionAbility resolutionAbility, AbilityType abilityType) { this.source = source; this.resolutionAbility = resolutionAbility; this.abilityType = abilityType; }
public GenerateAbilityObjectEvent(OID source, ResolutionAbility resolution, AbilityObject.AbilityType abilityType) : base(source) { this.resolution = resolution; this.abilityType = abilityType; }