You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
355 B
15 lines
355 B
6 months ago
|
#pragma once
|
||
|
#include "components.hpp"
|
||
|
#include "textures.hpp"
|
||
|
#include "easings.hpp"
|
||
|
|
||
|
namespace animation {
|
||
|
struct AnimationManager {
|
||
|
std::unordered_map<std::string, components::Animation> animations;
|
||
|
};
|
||
|
|
||
|
bool apply(components::Animation& anim, textures::SpriteTexture& target);
|
||
|
void init();
|
||
|
components::Animation load(std::string name);
|
||
|
}
|