Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked {
         int hash = 17;
         hash = hash * 23 + x.GetHashCode();
         hash = hash * 23 + y.GetHashCode();
         return(hash);
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked {
         int hash = 17;
         hash = hash * 23 + base.GetHashCode();
         hash = hash * 23 + attackRange.GetHashCode();
         hash = hash * 23 + period.GetHashCode();
         return(hash);
     }
 }
Exemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked {
         int hash = 17;
         hash = hash * 23 + dtrmSqTargetPositionReach.GetHashCode();
         hash = hash * 23 + dtrmSqTargetActorReach.GetHashCode();
         hash = hash * 23 + dtrmSqTargetActorFollow.GetHashCode();
         hash = hash * 23 + dtrmSqTargetActorBump.GetHashCode();
         hash = hash * 23 + legsState.GetHashCode();
         return(hash);
     }
 }
Exemplo n.º 4
0
 public override int GetHashCode()
 {
     return(X.GetHashCode() ^ Y.GetHashCode());
 }