Arena is now using the new animate2 but needs to be fixed.
This commit is contained in:
parent
547e8ec993
commit
aaf5aa4165
4 changed files with 82 additions and 16 deletions
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include "components.hpp"
|
||||
#include "textures.hpp"
|
||||
#include <SFML/Graphics/RenderWindow.hpp>
|
||||
#include <guecs/ui.hpp>
|
||||
#include "camera.hpp"
|
||||
#include <functional>
|
||||
#include "animate2.hpp"
|
||||
|
||||
namespace scene {
|
||||
using std::shared_ptr;
|
||||
|
|
@ -16,7 +16,7 @@ namespace scene {
|
|||
struct Element {
|
||||
std::string name;
|
||||
textures::SpriteTexture st;
|
||||
components::Animation anim;
|
||||
animate2::Animate2 anim;
|
||||
std::string cell;
|
||||
float scale_x = 1.0f;
|
||||
float scale_y = 1.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue