mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Move CanBeNull specification to the interface
This commit is contained in:
parent
7fe0923fcf
commit
a00e0d7279
@ -1,6 +1,7 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using JetBrains.Annotations;
|
||||
using osu.Framework.Graphics;
|
||||
|
||||
namespace osu.Game.Rulesets.Judgements
|
||||
@ -18,6 +19,7 @@ namespace osu.Game.Rulesets.Judgements
|
||||
/// <summary>
|
||||
/// Get proxied content which should be displayed above all hitobjects.
|
||||
/// </summary>
|
||||
[CanBeNull]
|
||||
Drawable GetAboveHitObjectsProxiedContent();
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,6 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
using JetBrains.Annotations;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Animations;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
@ -123,7 +122,6 @@ namespace osu.Game.Skinning
|
||||
}
|
||||
}
|
||||
|
||||
[CanBeNull]
|
||||
public Drawable GetAboveHitObjectsProxiedContent() => temporaryOldStyle?.CreateProxy(); // for new style judgements, only the old style temporary display is in front of objects.
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user