Move storyboard outro logic to DrawableStoryboard

This commit is contained in:
Christine Chen
2021-04-16 00:59:10 -04:00
parent 0e545e1ed9
commit b15838b220
10 changed files with 57 additions and 49 deletions

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.Containers;
using osu.Game.Storyboards;
@ -61,5 +62,7 @@ namespace osu.Game.Screens.Play
Add(storyboard);
OverlayLayerContainer.Add(storyboard.OverlayLayer.CreateProxy());
}
public IBindable<bool> HasStoryboardEnded => drawableStoryboard?.HasStoryboardEnded;
}
}