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
|
|
@ -1,5 +1,5 @@
|
|||
#pragma once
|
||||
#include "animate2.hpp"
|
||||
#include "animation.hpp"
|
||||
#include "constants.hpp"
|
||||
#include <SFML/Graphics/RenderTexture.hpp>
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ namespace components {
|
|||
|
||||
namespace cinematic {
|
||||
struct Camera {
|
||||
animate2::Animate2 anim;
|
||||
animation::Animation anim;
|
||||
sf::Vector2f size{SCREEN_WIDTH, SCREEN_HEIGHT};
|
||||
sf::Vector2f base_size{SCREEN_WIDTH, SCREEN_HEIGHT};
|
||||
sf::Vector2f aimed_at{0,0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue