Exemple #1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked
     {
         return((NewVerticalInput.GetHashCode() * 397) ^ NewHorizontalInput.GetHashCode());
     }
 }
Exemple #2
0
        public bool Equals([NotNull] MovementInputChangedEventArgs other)
        {
            if (other == null)
            {
                return(false);
            }

            return(NewVerticalInput.Equals(other.NewVerticalInput) && NewHorizontalInput.Equals(other.NewHorizontalInput));
        }