NasNas
An intuitive and beginner friendly 2D game framework for C++
Public Member Functions | List of all members
ns::MultiTween< N, typename > Class Template Reference

Public Member Functions

void clear ()
 
auto loop () -> MultiTween< N > &
 
auto after (float delay) -> MultiTween< N > &
 
auto from_to (const std::array< float, N > &start, const std::array< float, N > &end) -> MultiTween< N > &
 
auto to (const std::array< float, N > &end) -> MultiTween< N > &
 
auto during (float duration) -> MultiTween< N > &
 
auto apply (tween::MultiCallbackFunction< N > cb) -> MultiTween< N > &
 
auto with (const tween::EasingFunction &fn) -> MultiTween< N > &
 
auto with (std::array< tween::EasingFunction, N > fn) -> MultiTween< N > &
 
auto delay (float delay) -> MultiTween< N > &
 
void onEnd (std::function< void()> fn)
 
void restart ()
 
auto ended () const -> bool
 
auto step () -> float
 

Detailed Description

template<unsigned N, typename = std::enable_if_t<N != 0 && N != 1>>
class ns::MultiTween< N, typename >

Definition at line 14 of file MultiTween.hpp.


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