Rose
Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes | List of all members
rose::Animator Class Reference

Public Member Functions

void set (const std::shared_ptr< Window > &window, std::shared_ptr< Animation > &animation, const Position< int > &position)
 
void remove (const std::shared_ptr< Window > &window, std::shared_ptr< Animation > &animation)
 
void animate (const std::shared_ptr< Window > &window, gm::Context &context, uint32_t frame)
 
 operator bool () const noexcept
 
bool areAnimationsForWindow (const std::shared_ptr< Window > &window) const noexcept
 

Static Public Member Functions

static AnimatorgetAnimator ()
 

Protected Types

using AnimationList = std::vector< std::pair< std::shared_ptr< Animation >, Position< int > >>
 

Protected Attributes

std::map< std::shared_ptr< Window >, AnimationList > mAnimations
 

The documentation for this class was generated from the following files: