mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 07:43:00 +08:00
Move skinnable interface specification to non-abstract
classes
This commit is contained in:
parent
ae2ef8ee1e
commit
0ebb12f67f
@ -9,10 +9,11 @@ using osu.Framework.Graphics.Sprites;
|
||||
using osu.Game.Configuration;
|
||||
using osu.Game.Localisation.SkinComponents;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
using osu.Game.Skinning;
|
||||
|
||||
namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
public partial class ArgonPerformancePointsCounter : PerformancePointsCounter
|
||||
public partial class ArgonPerformancePointsCounter : PerformancePointsCounter, ISerialisableDrawable
|
||||
{
|
||||
private ArgonCounterTextComponent text = null!;
|
||||
|
||||
|
@ -27,7 +27,7 @@ using osu.Game.Skinning;
|
||||
|
||||
namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
public abstract partial class PerformancePointsCounter : RollingCounter<int>, ISerialisableDrawable
|
||||
public abstract partial class PerformancePointsCounter : RollingCounter<int>
|
||||
{
|
||||
public bool UsesFixedAnchor { get; set; }
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
// 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.
|
||||
|
||||
#nullable disable
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
@ -16,7 +14,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Skinning.Triangles
|
||||
{
|
||||
public partial class TrianglesPerformancePointsCounter : PerformancePointsCounter
|
||||
public partial class TrianglesPerformancePointsCounter : PerformancePointsCounter, ISerialisableDrawable
|
||||
{
|
||||
protected override bool IsRollingProportional => true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user