1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 03:42:57 +08:00

Move skinnable interface specification to non-abstract classes

This commit is contained in:
Dean Herbert 2024-03-08 10:23:43 +08:00
parent ae2ef8ee1e
commit 0ebb12f67f
No known key found for this signature in database
3 changed files with 4 additions and 5 deletions

View File

@ -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!;

View File

@ -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; }

View File

@ -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;