/// <summary> /// hash kodo metodas /// </summary> /// <returns></returns> public override int GetHashCode() { return(Name.GetHashCode() ^ Role.GetHashCode() ^ HitPoints.GetHashCode() ^ Mana.GetHashCode() ^ Damage.GetHashCode() ^ Defence.GetHashCode() ^ Strength.GetHashCode() ^ Agility.GetHashCode() ^ Intelligence.GetHashCode() ^ Power.GetHashCode()); }