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