1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 19:43:22 +08:00

Apply NRT to GameplayScoreCounter

This commit is contained in:
Dean Herbert 2023-05-29 18:48:17 +09:00
parent a789d1e49c
commit 22be045de3

View File

@ -1,8 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // 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. // See the LICENCE file in the repository root for full licence text.
#nullable disable
using System; using System;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Bindables; using osu.Framework.Bindables;
@ -15,8 +13,9 @@ namespace osu.Game.Screens.Play.HUD
{ {
public abstract partial class GameplayScoreCounter : ScoreCounter public abstract partial class GameplayScoreCounter : ScoreCounter
{ {
private Bindable<ScoringMode> scoreDisplayMode; private Bindable<ScoringMode> scoreDisplayMode = null!;
private Bindable<long> totalScoreBindable;
private Bindable<long> totalScoreBindable = null!;
protected GameplayScoreCounter() protected GameplayScoreCounter()
: base(6) : base(6)