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

Animate units. More...

#include <chrono>
#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 ()
 
std::chrono::steady_clock::time_point get_current_animation_tick ()
 

Detailed Description

Animate units.

Definition in file animated.hpp.

Function Documentation

◆ get_current_animation_tick()

std::chrono::steady_clock::time_point get_current_animation_tick ( )

Definition at line 34 of file animated.cpp.

Referenced by unit_animation_component::refresh().

◆ new_animation_frame()

void new_animation_frame ( )

Definition at line 29 of file animated.cpp.

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