Now have animated torches that are defined from json, and smoother animations in the arena.
This commit is contained in:
parent
387d1a5bf5
commit
7c11ffa2af
10 changed files with 111 additions and 73 deletions
|
|
@ -16,6 +16,7 @@ struct AnimatedFixture {
|
|||
float x;
|
||||
float y;
|
||||
bool at_mid=false;
|
||||
sf::Vector2f pos{0,0};
|
||||
};
|
||||
|
||||
namespace boss {
|
||||
|
|
@ -47,6 +48,6 @@ namespace boss {
|
|||
void status(const std::wstring& msg);
|
||||
void move_boss(const std::string& cell_name);
|
||||
void move_player(const std::string& cell_name);
|
||||
void play_animations(sf::RenderWindow& window);
|
||||
void play_animations();
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue