Example #1
0
 protected bool Equals(AbilityInfo other)
 {
     return(Dmg == other.Dmg && Cost == other.Cost && Range == other.Range && Cooldown == other.Cooldown &&
            Buff.Equals(other.Buff) && AreaBuff.Equals(other.AreaBuff));
 }
Example #2
0
 public bool Equals(AreaBuff other)
 {
     return(Coord.Equals(other.Coord) && Radius == other.Radius && Effect.Equals(other.Effect));
 }