Finally renamed animate2 to animation thus completing the refactor. There's still things to do to make the new animation actually work though.

This commit is contained in:
Zed A. Shaw 2026-02-24 11:36:57 -05:00
parent 83f62e3f45
commit 81a282d544
21 changed files with 83 additions and 339 deletions

View file

@ -7,7 +7,7 @@
#include <guecs/ui.hpp>
#include "camera.hpp"
#include <functional>
#include "animate2.hpp"
#include "animation.hpp"
#include "components.hpp"
namespace scene {
@ -17,7 +17,7 @@ namespace scene {
struct Element {
std::string name;
textures::SpriteTexture st;
animate2::Animate2 anim;
animation::Animation anim;
std::string cell;
sf::Vector2f scale{1.0f, 1.0f};
sf::Vector2f pos{0.0f, 0.0f};