The Battle for Wesnoth  1.19.5+dev
Classes | Functions
animated.hpp File Reference

Animate units. More...

#include <vector>
#include "animated.tpp"
Include dependency graph for animated.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  animated< T >
 
struct  animated< T >::frame
 

Functions

void new_animation_frame ()
 
int get_current_animation_tick ()
 

Detailed Description

Animate units.

Definition in file animated.hpp.

Function Documentation

◆ get_current_animation_tick()

int get_current_animation_tick ( )

Definition at line 36 of file animated.cpp.

Referenced by unit_animation_component::refresh().

◆ new_animation_frame()

void new_animation_frame ( )

Definition at line 31 of file animated.cpp.

Referenced by display::invalidate_animations(), and unit_animator::wait_until().