Add Beatmap fields to UserStatusSoloGame & UserStatusEditing so they can carry metadata about the played / edited beatmap

This commit is contained in:
Lucas A
2019-04-12 22:54:35 +02:00
parent 69dda0ffd4
commit da5d6cb1d4
4 changed files with 36 additions and 0 deletions

View File

@ -26,6 +26,7 @@ using osu.Game.Scoring;
using osu.Game.Screens.Ranking;
using osu.Game.Skinning;
using osu.Game.Storyboards.Drawables;
using osu.Game.Users;
namespace osu.Game.Screens.Play
{
@ -33,6 +34,8 @@ namespace osu.Game.Screens.Play
{
protected override bool AllowBackButton => false; // handled by HoldForMenuButton
protected override UserStatus ScreenStatus => new UserStatusSoloGame(Beatmap.Value.BeatmapInfo);
public override float BackgroundParallaxAmount => 0.1f;
public override bool HideOverlaysOnEnter => true;