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:
parent
83f62e3f45
commit
81a282d544
21 changed files with 83 additions and 339 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue