public Ease(ActionInterval action, EaseFunction func) : base(action) { _function = func; }
/** * @brief Creates the action with the inner action and the param parameter. * @param action A given ActionInterval * @param param A given param * @return An autoreleased EaseParam object. **/ public EaseParam(ActionInterval action, EaseParamFunction func, float param) : base(action) { _function = func; _param = param; }
/** Creates the action. * * @param action The action need to repeat forever. * @return An autoreleased RepeatForever object. */ public RepeatForever(ActionInterval action) : base(0) { Debug.Assert(action != null, "action can't be null!"); _innerAction = action; }
public ActionEase(ActionInterval action) : base(action.duration) { _inner = action; }
/** Create the action and set the speed. * * @param action An action. * @param speed The action speed. */ public Speed(ActionInterval action, float speed) { Debug.Assert(action != null, "action must not be null"); _innerAction = action; _speed = speed; }