ScummVM API documentation
Twp::Tween< T > Struct Template Reference

Public Member Functions

 Tween (T f, T t, float d, InterpolationMethod im)
 
bool running ()
 
void update (float el)
 
T current () const
 

Public Attributes

T frm
 
T to
 
T delta
 
float elapsed = 0.f
 
float duration = 0.f
 
T value
 
EasingFunc_t easing_f
 
bool enabled = true
 
bool dir_forward = true
 
bool swing = false
 
bool loop = false
 

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