UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::action::Animation< Frame > Singleton Reference

#include <ugdk/action/animation.h>

Public Types

enum  AnimationRepeat { AnimationRepeat::LOOP, AnimationRepeat::NONE }
 
using value_type = Frame
 
using Vector = std::vector< std::unique_ptr< Frame >>
 

Public Member Functions

template<class... Args>
 Animation (Args...args)
 
 ~Animation ()
 
Vectorframes ()
 
const Vectorframes () const
 
AnimationRepeat repeat () const
 
void set_repeat (AnimationRepeat repeat)
 

Member Typedef Documentation

template<class Frame >
using ugdk::action::Animation< Frame >::value_type = Frame
template<class Frame >
using ugdk::action::Animation< Frame >::Vector = std::vector<std::unique_ptr<Frame>>

Member Enumeration Documentation

template<class Frame >
enum ugdk::action::Animation::AnimationRepeat
strong
Enumerator
LOOP 
NONE 

Constructor & Destructor Documentation

template<class Frame >
template<class... Args>
ugdk::action::Animation< Frame >::Animation ( Args...  args)
inline
template<class Frame >
ugdk::action::Animation< Frame >::~Animation ( )
inline

Member Function Documentation

template<class Frame >
Vector& ugdk::action::Animation< Frame >::frames ( )
inline
template<class Frame >
const Vector& ugdk::action::Animation< Frame >::frames ( ) const
inline
template<class Frame >
AnimationRepeat ugdk::action::Animation< Frame >::repeat ( ) const
inline
template<class Frame >
void ugdk::action::Animation< Frame >::set_repeat ( AnimationRepeat  repeat)
inline

The documentation for this singleton was generated from the following file: