Files
eepp/include/eepp/ui/actions/rotate.hpp
Martín Lucas Golini d4e5d84631 Fixed Android build.
Updated SDL2 to SDL 2.0.8 (current dev).

--HG--
branch : dev-2.1
2018-01-26 01:25:11 -03:00

30 lines
709 B
C++

#ifndef EE_UI_ACTION_ROTATE_HPP
#define EE_UI_ACTION_ROTATE_HPP
#include <eepp/ui/uiaction.hpp>
#include <eepp/ui/actions/actioninterpolation1d.hpp>
namespace EE { namespace UI { namespace Action {
class EE_API Rotate : public ActionInterpolation1d {
public:
static Rotate * New( const Float& start, const Float& end, const Time& duration, const Ease::Interpolation& type = Ease::Linear );
UIAction * clone() const override;
UIAction * reverse() const override;
protected:
Rotate( const Float & start, const Float & end, const Time & duration, const Ease::Interpolation & type );
void onStart() override;
void onUpdate( const Time& time ) override;
private:
Rotate();
};
}}}
#endif