le2d v0.4.3
2D game engine framework
 
Loading...
Searching...
No Matches
keyframe.hpp
Go to the documentation of this file.
1#pragma once
2#include <kvf/time.hpp>
3
4namespace le::anim {
6template <typename PayloadT>
7struct Keyframe {
8 kvf::Seconds timestamp{};
9 PayloadT payload{};
10};
11} // namespace le::anim
Definition animation.hpp:9
Class template for an animation keyframe.
Definition keyframe.hpp:7
kvf::Seconds timestamp
Definition keyframe.hpp:8
PayloadT payload
Definition keyframe.hpp:9