예제 #1
0
 /**
  * @brief Create the action with the inner action.
  * @param action The pointer of the inner action.
  * @return A pointer of EaseQuadraticActionIn action. If creation failed, return nil.
  */
 public EaseQuadraticActionIn(ActionInterval interval) : base(interval)
 {
 }
예제 #2
0
 /**
  * @brief Create the action with the inner action.
  * @param action The pointer of the inner action.
  * @return A pointer of EaseQuarticActionInOut action. If creation failed, return nil.
  */
 public EaseQuarticActionInOut(ActionInterval interval) : base(interval)
 {
 }
예제 #3
0
 /**
  * @brief Create the action with the inner action and the rate parameter.
  * @param action The pointer of the inner action.
  * @param rate The value of the rate parameter.
  * @return A pointer of EaseIn action. If creation failed, return nil.
  */
 public EaseIn(ActionInterval action, float rate) : base(action, rate)
 {
 }
예제 #4
0
 /**
  * @brief Create the action with the inner action.
  * @param action The pointer of the inner action.
  * @return A pointer of EaseBezierAction action. If creation failed, return nil.
  */
 public EaseBezierAction(ActionInterval interval) : base(interval)
 {
 }
예제 #5
0
 public EaseBounceInOut(ActionInterval interval) : base(interval)
 {
 }
예제 #6
0
 /**
  * @brief Create the action with the inner action.
  * @param action The pointer of the inner action.
  * @return A pointer of EaseBackInOut action. If creation failed, return nil.
  */
 public EaseBackInOut(ActionInterval interval) : base(interval)
 {
 }
예제 #7
0
        /**
         * @brief Create the EaseElasticIn action with the inner action and the period in radians.
         * @param action The pointer of the inner action.
         * @param period Period of the wave in radians.
         * @return A pointer of EaseElasticIn action. If creation failed, return nil.
         */


        public EaseElasticInOut(ActionInterval interval, float period) : base(interval, period)
        {
        }
예제 #8
0
 /** Initializes the action with the inner action and the rate parameter */
 public EaseRateAction(ActionInterval pAction, float rate) : base(pAction)
 {
     m_fRate = rate;
 }
예제 #9
0
 /**
  * @brief Create the action with the inner action.
  * @param action The pointer of the inner action.
  * @return A pointer of EaseExponentialInOut action. If creation failed, return nil.
  */
 public EaseExponentialInOut(ActionInterval action) : base(action)
 {
 }
예제 #10
0
 /**ram action The pointer of the inner action.
  * @param period Period of the wave in radians. Default is 0.3.
  * @return Return true when the initialization success, otherwise return false.
  */
 public EaseElastic(ActionInterval interval, float period = 5f) : base(interval)
 {
     _period = period;
 }
예제 #11
0
 public ActionEase(ActionInterval inner)
 {
     this.inner    = inner;
     this.duration = inner.GetDuration();
 }
예제 #12
0
 /**
  * @brief Create the action with the inner action.
  * @param action The pointer of the inner action.
  * @return A pointer of EaseQuarticActionInOut action. If creation failed, return nil.
  */
 public EaseCubicActionInOut(ActionInterval interval) : base(interval)
 {
 }
예제 #13
0
 /**
  * @brief Create the action with the inner action.
  * @param action The pointer of the inner action.
  * @return A pointer of EaseQuarticActionInOut action. If creation failed, return nil.
  */
 public EaseCircleActionInOut(ActionInterval interval) : base(interval)
 {
 }
예제 #14
0
 public RepeatForever(ActionInterval action)
 {
     _innerAction = action;
 }
예제 #15
0
 public RepeatForever(ActionInterval action)
 {
     _innerAction = action;
 }