コード例 #1
0
ファイル: AbilityInfo.cs プロジェクト: darthdeus/HexMage.NET
 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));
 }
コード例 #2
0
 public bool Equals(AreaBuff other)
 {
     return(Coord.Equals(other.Coord) && Radius == other.Radius && Effect.Equals(other.Effect));
 }