public override int CompareTo(AbstractBuffEvent abe)
 {
     if (abe is BuffApplyEvent && !(abe is BuffExtensionEvent))
     {
         return(0);
     }
     return(-1);
 }
 public override int CompareTo(AbstractBuffEvent abe)
 {
     if (abe is BuffStackActiveEvent)
     {
         return(0);
     }
     return(1);
 }
示例#3
0
 public override int CompareTo(AbstractBuffEvent abe)
 {
     if (abe is BuffRemoveSingleEvent)
     {
         return(0);
     }
     if (abe is BuffRemoveAllEvent || abe is AbstractBuffStackEvent)
     {
         return(-1);
     }
     return(1);
 }
 public override int CompareTo(AbstractBuffEvent abe)
 {
     if (abe is BuffStackActiveEvent || abe is BuffApplyEvent)
     {
         return(1);
     }
     if (abe is BuffStackResetEvent)
     {
         return(0);
     }
     return(-1);
 }
示例#5
0
 public override int CompareTo(AbstractBuffEvent abe)
 {
     throw new InvalidOperationException("Error Encountered: Manual removes can't be sorted");
 }
 public abstract int CompareTo(AbstractBuffEvent abe);