Animations are now happening lock-step but I have to add random animations in next_combat for it to work. Need more for each result.
This commit is contained in:
parent
63260f01b9
commit
c6639998ec
9 changed files with 60 additions and 4 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include <SFML/Graphics/RenderWindow.hpp>
|
||||
#include <guecs/ui.hpp>
|
||||
#include "camera.hpp"
|
||||
#include <functional>
|
||||
|
||||
namespace scene {
|
||||
using std::shared_ptr;
|
||||
|
|
@ -56,5 +57,6 @@ namespace scene {
|
|||
void zoom(const std::string& actor, const std::string& style, float scale=0.9f);
|
||||
void zoom(float mid_x, float mid_y, const std::string& style, float scale);
|
||||
void reset(sf::RenderTexture& view);
|
||||
void set_end_cb(std::function<void()> cb);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue