Exemple #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)
 {
 }
Exemple #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)
 {
 }
Exemple #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)
 {
 }
Exemple #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)
 {
 }
Exemple #5
0
 public EaseBounceInOut(ActionInterval interval) : base(interval)
 {
 }
Exemple #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)
 {
 }
Exemple #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)
        {
        }
Exemple #8
0
 /** Initializes the action with the inner action and the rate parameter */
 public EaseRateAction(ActionInterval pAction, float rate) : base(pAction)
 {
     m_fRate = rate;
 }
Exemple #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)
 {
 }
Exemple #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;
 }
Exemple #11
0
 public ActionEase(ActionInterval inner)
 {
     this.inner    = inner;
     this.duration = inner.GetDuration();
 }
Exemple #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)
 {
 }
Exemple #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)
 {
 }
 public RepeatForever(ActionInterval action)
 {
     _innerAction = action;
 }
Exemple #15
0
 public RepeatForever(ActionInterval action)
 {
     _innerAction = action;
 }