le2d v0.4.3
2D game engine framework
 
Loading...
Searching...
No Matches
timeline.hpp
Go to the documentation of this file.
1#pragma once
3#include <vector>
4
5namespace le::anim {
7template <typename PayloadT>
8struct Timeline {
9 std::vector<Keyframe<PayloadT>> keyframes{};
10 kvf::Seconds duration{};
11};
12} // namespace le::anim
Definition animation.hpp:9
Class template for a list of animation keyframes.
Definition timeline.hpp:8
std::vector< Keyframe< PayloadT > > keyframes
Definition timeline.hpp:9
kvf::Seconds duration
Definition timeline.hpp:10