nngn
Loading...
Searching...
No Matches
nngn::Animations Class Reference

#include <animation.h>

Collaboration diagram for nngn::Animations:

Public Member Functions

void init (Math *m)
 
size_t max () const
 
size_t max_sprite () const
 
size_t max_light () const
 
size_t n () const
 
size_t n_sprite () const
 
size_t n_light () const
 
void set_max (size_t n)
 
void remove (Animation *p)
 
Animationload (nngn::lua::table_view t)
 
void update (const Timing &t)
 
void init (Math *m)
 
size_t max () const
 
size_t max_sprite () const
 
size_t max_light () const
 
size_t n () const
 
size_t n_sprite () const
 
size_t n_light () const
 
void set_max (size_t n)
 
void remove (Animation *p)
 
Animationload (nngn::lua::table_view t)
 
void update (const Timing &t)
 

Private Attributes

Mathmath = nullptr
 
std::vector< SpriteAnimationsprite = {}
 
std::vector< LightAnimationlight = {}
 

Member Function Documentation

◆ init() [1/2]

void nngn::Animations::init ( Math m)
inline

◆ init() [2/2]

void nngn::Animations::init ( Math m)
inline

◆ load() [1/2]

Animation * nngn::Animations::load ( nngn::lua::table_view  t)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ load() [2/2]

Animation * nngn::Animations::load ( nngn::lua::table_view  t)

◆ max() [1/2]

size_t nngn::Animations::max ( ) const
inline
Here is the call graph for this function:

◆ max() [2/2]

size_t nngn::Animations::max ( ) const
inline
Here is the call graph for this function:

◆ max_light() [1/2]

size_t nngn::Animations::max_light ( ) const
inline
Here is the caller graph for this function:

◆ max_light() [2/2]

size_t nngn::Animations::max_light ( ) const
inline

◆ max_sprite() [1/2]

size_t nngn::Animations::max_sprite ( ) const
inline
Here is the caller graph for this function:

◆ max_sprite() [2/2]

size_t nngn::Animations::max_sprite ( ) const
inline

◆ n() [1/2]

size_t nngn::Animations::n ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ n() [2/2]

size_t nngn::Animations::n ( ) const
inline
Here is the call graph for this function:

◆ n_light() [1/2]

size_t nngn::Animations::n_light ( ) const
inline
Here is the caller graph for this function:

◆ n_light() [2/2]

size_t nngn::Animations::n_light ( ) const
inline

◆ n_sprite() [1/2]

size_t nngn::Animations::n_sprite ( ) const
inline
Here is the caller graph for this function:

◆ n_sprite() [2/2]

size_t nngn::Animations::n_sprite ( ) const
inline

◆ remove() [1/2]

void nngn::Animations::remove ( Animation p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ remove() [2/2]

void nngn::Animations::remove ( Animation p)

◆ set_max() [1/2]

void nngn::Animations::set_max ( size_t  n)
Here is the call graph for this function:

◆ set_max() [2/2]

void nngn::Animations::set_max ( size_t  n)

◆ update() [1/2]

void nngn::Animations::update ( const Timing t)
Here is the call graph for this function:

◆ update() [2/2]

void nngn::Animations::update ( const Timing t)

Member Data Documentation

◆ light

std::vector< LightAnimation > nngn::Animations::light = {}
private

◆ math

Math * nngn::Animations::math = nullptr
private

◆ sprite

std::vector< SpriteAnimation > nngn::Animations::sprite = {}
private

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