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)
 

Private Attributes

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

Member Function Documentation

◆ init()

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

◆ load()

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:

◆ max()

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

◆ max_light()

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

◆ max_sprite()

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

◆ n()

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

◆ n_light()

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

◆ n_sprite()

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

◆ remove()

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

◆ set_max()

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

◆ update()

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

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: