class EE::Scene::Actions::Disable

Overview

#include <disable.hpp>

class Disable: public EE::Scene::Actions::Enable {
public:
    // methods

    static Disable* New(const Time& time = Seconds(0));
    virtual Action* clone() const;
};

Inherited Members

public:
    // typedefs

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

    // enums

    enum ActionType;

    // 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);
    String::HashType getTag() const;
    void setTag(const Uint32& 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 Uint32& id);
    const Uint32& getId();
    static Delay* New(const Time& time);
    virtual void start();
    virtual void stop();
    virtual void update(const Time& time);
    virtual bool isDone();
    virtual Float getCurrentProgress();
    virtual Time getTotalTime();
    virtual Action* clone() const;
    virtual Action* reverse() const;
    static Enable* New(const Time& time = Seconds(0));
    static Enable* New(bool enable, const Time& time = Seconds(0));
    virtual void update(const Time& time);
    virtual Action* clone() const;
    virtual Action* reverse() const;

Detailed Documentation

Methods

virtual Action* clone() const

Clones the action.