Cutscenes are now integrated into the game. LONG LIVE THE RAT KING!
This commit is contained in:
parent
fa4573be7b
commit
8fdaadaf12
5 changed files with 30 additions and 17 deletions
|
|
@ -47,6 +47,10 @@ namespace storyboard {
|
|||
window.draw($view_sprite);
|
||||
}
|
||||
|
||||
bool UI::playing() {
|
||||
return $audio->getStatus() == sf::SoundSource::Status::Playing;
|
||||
}
|
||||
|
||||
sf::Time parse_time_code(const std::string& time) {
|
||||
std::chrono::seconds out{};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue