nngn
|
#include <animation.h>
Public Member Functions | |
void | load (nngn::lua::table_view t) |
void | update (const Timing &t, Math::rnd_generator_t *rnd, float *a, bool *updated) |
void | update (const Timing &t, Math::rnd_generator_t *rnd) |
Private Attributes | |
std::chrono::milliseconds | rate = {} |
std::chrono::milliseconds | timer = {} |
AnimationFunction | f = {} |
Additional Inherited Members | |
Public Attributes inherited from nngn::Animation | |
Entity * | entity = nullptr |
void nngn::LightAnimation::load | ( | nngn::lua::table_view | t | ) |
void nngn::LightAnimation::update | ( | const Timing & | t, |
Math::rnd_generator_t * | rnd ) |
void nngn::LightAnimation::update | ( | const Timing & | t, |
Math::rnd_generator_t * | rnd, | ||
float * | a, | ||
bool * | updated ) |
|
private |
|
private |
|
private |