class EE::Scene::Actions::PaddingTransition

Overview

#include <paddingtransition.hpp>

class PaddingTransition: public EE::Scene::Actions::MarginMove {
public:
    // methods

    static PaddingTransition* New(const Rectf& start, const Rectf& end, const Time& duration, const Ease::Interpolation& type = Ease::Linear, const Uint32& interpolateFlag = InterpolateFlag::All);
    virtual Action* clone() const;
};

Inherited Members

public:
    // typedefs

    typedef std::function<void(Action*, const ActionType&)> ActionCallback;
    typedef Uint64 UniqueID;

    // enums

    enum ActionType;
    enum InterpolateFlag;

    // methods

    virtual void start() = 0;
    virtual void stop() = 0;
    virtual void update(const Time& time) = 0;
    virtual bool isDone() = 0;
    virtual Float getCurrentProgress() = 0;
    virtual Time getTotalTime() = 0;
    virtual Action* clone() const;
    virtual Action* reverse() const;
    Uint32 getFlags() const;
    void setFlags(const Uint32& flags);
    UniqueID getTag() const;
    void setTag(const UniqueID& tag);
    Node* getTarget() const;
    Uint32 addEventListener(const ActionType& actionType, const ActionCallback& callback);
    Action* on(const ActionType& actionType, const ActionCallback& callback);
    void removeEventListener(const Uint32& callbackId);
    void sendEvent(const ActionType& actionType);
    void setTarget(Node* target);
    void setId(const Action::UniqueID& id);
    const Action::UniqueID& getId();
    static MarginMove* New(const Rect& start, const Rect& end, const Time& duration, const Ease::Interpolation& type = Ease::Linear, const Uint32& interpolateFlag = InterpolateFlag::All);
    virtual void start();
    virtual void stop();
    virtual void update(const Time& time);
    virtual bool isDone();
    virtual Action* clone() const;
    virtual Action* reverse() const;
    virtual Float getCurrentProgress();
    virtual Time getTotalTime();
    Interpolation1d getInterpolationLeft() const;
    void setInterpolationLeft(const Interpolation1d& interpolationLeft);
    Interpolation1d getInterpolationRight() const;
    void setInterpolationRight(const Interpolation1d& interpolationRight);
    Interpolation1d getInterpolationTop() const;
    void setInterpolationTop(const Interpolation1d& interpolationTop);
    Interpolation1d getInterpolationBottom() const;
    void setInterpolationBottom(const Interpolation1d& interpolationBottom);

Detailed Documentation

Methods

virtual Action* clone() const

Clones the action.