pixled-lib  1.0
Public Member Functions | Public Attributes | List of all members
pixled::animation::SequenceItem Struct Reference

#include <animation.h>

Collaboration diagram for pixled::animation::SequenceItem:
Collaboration graph
[legend]

Public Member Functions

template<typename Anim >
 SequenceItem (Anim &&animation, time duration)
 

Public Attributes

FctWrapper< coloranimation
 
time duration
 

Detailed Description

A Sequence item, that assign a duration to each Animation in the sequence.

Constructor & Destructor Documentation

◆ SequenceItem()

template<typename Anim >
pixled::animation::SequenceItem::SequenceItem ( Anim &&  animation,
time  duration 
)
inline

Sequence item constructor.

Template Parameters
Animautomatically deduced
Parameters
animationAn Animation, passed by lvalue or rvalue
durationAnimation duration in the Sequence

Member Data Documentation

◆ animation

FctWrapper<color> pixled::animation::SequenceItem::animation

An Animation in the Sequence.

◆ duration

time pixled::animation::SequenceItem::duration

The duration of the animation in the Sequence.


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