Beispiel #1
0
 /// <summary>
 /// Create an alteration that rotates sprite to its path's tangent
 /// </summary>
 /// <param name="p_gi">GeometricsInterface</param> object from which to get the tangent's angle
 public RotateToTangent(GeometricsInterface p_gi)
     : base(0)
 {
     geometricObject = p_gi;
 }
Beispiel #2
0
        GeometricsInterface geometricObject; // object from which to get the normal angle

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Create an alteration that rotates sprite to its path's normal
        /// </summary>
        /// <param name="p_gi">GeometricsInterface</param> object from which to get the normal's angle
        public RotateToNormal(GeometricsInterface p_gi)
            : base(0)
        {
            geometricObject = p_gi;
        }
Beispiel #3
0
 /// <summary>
 /// Create an alteration that rotates sprite to its path's tangent
 /// </summary>
 /// <param name="p_gi">GeometricsInterface</param> object from which to get the tangent's angle
 public RotateToTangent(GeometricsInterface p_gi) : base(0)
 {
     geometricObject = p_gi;
 }
Beispiel #4
0
        GeometricsInterface geometricObject;         // object from which to get the normal angle

        /// <summary>
        /// Create an alteration that rotates sprite to its path's normal
        /// </summary>
        /// <param name="p_gi">GeometricsInterface</param> object from which to get the normal's angle
        public RotateToNormal(GeometricsInterface p_gi) : base(0)
        {
            geometricObject = p_gi;
        }