Beispiel #1
0
        public bool Equals(MobInfo other)
        {
            bool abilitiesEqual = Abilities.SequenceEqual(other.Abilities);

            return(OrigCoord.Equals(other.OrigCoord) && MaxHp == other.MaxHp && MaxAp == other.MaxAp &&
                   Iniciative == other.Iniciative && abilitiesEqual && Team == other.Team);
        }
Beispiel #2
0
 public bool Equals(MobInstance other)
 {
     return(Id == other.Id && Coord.Equals(other.Coord) && Hp == other.Hp && Ap == other.Ap &&
            Buff.Equals(other.Buff));
 }
Beispiel #3
0
 public bool Equals(AreaBuff other)
 {
     return(Coord.Equals(other.Coord) && Radius == other.Radius && Effect.Equals(other.Effect));
 }