Пример #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;
 }