Beispiel #1
0
 public bool Equals(ContinouslyRotatingScalingTexture other) => Rotation == other.Rotation &&
 RotationDirection == other.RotationDirection &&
 Scale == other.Scale &&
 ScaleDirection == other.ScaleDirection &&
 EqualityComparer <Texture2D> .Default.Equals(texture, other.texture) &&
 scaleSpeedBounds.Equals(other.scaleSpeedBounds) &&
 scaleBounds.Equals(other.scaleBounds) &&
 scaleSpeed == other.scaleSpeed &&
 rotationSpeedBounds.Equals(other.rotationSpeedBounds) &&
 rotationBounds.Equals(other.rotationBounds) &&
 rotationSpeed == other.rotationSpeed;
Beispiel #2
0
 public bool Equals(ContinouslyScalingTexture other) => ScaleDirection == other.ScaleDirection &&
 Scale == other.Scale &&
 EqualityComparer <Texture2D> .Default.Equals(texture, other.texture) &&
 speedBounds.Equals(other.speedBounds) &&
 scaleBounds.Equals(other.scaleBounds) &&
 speed == other.speed;