Esempio n. 1
0
 public static string GetString(this AbilityObject.AbilityType abilityType)
 {
     return(abilityType switch
     {
         AbilityObject.AbilityType.Activated => "Activated Ability",
         AbilityObject.AbilityType.Triggered => "Triggered Ability",
         _ => throw new NotImplementedException()
     });
Esempio n. 2
0
 public GenerateAbilityObjectEvent(OID source, ResolutionAbility resolution, AbilityObject.AbilityType abilityType)
     : base(source)
 {
     this.resolution  = resolution;
     this.abilityType = abilityType;
 }