2020-10-15 07:31:21 +00:00
|
|
|
|
// 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 osu.Framework.Allocation;
|
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Game.Graphics;
|
2021-04-30 03:42:32 +00:00
|
|
|
|
using osu.Game.Skinning;
|
2020-10-15 07:31:21 +00:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.Play.HUD
|
|
|
|
|
{
|
2023-02-15 07:01:26 +00:00
|
|
|
|
public partial class DefaultScoreCounter : GameplayScoreCounter, ISerialisableDrawable
|
2020-10-15 07:31:21 +00:00
|
|
|
|
{
|
|
|
|
|
public DefaultScoreCounter()
|
|
|
|
|
{
|
|
|
|
|
Anchor = Anchor.TopCentre;
|
|
|
|
|
Origin = Anchor.TopCentre;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-08 12:22:35 +00:00
|
|
|
|
public bool UsesFixedAnchor { get; set; }
|
2021-06-07 03:47:47 +00:00
|
|
|
|
|
2020-10-15 07:31:21 +00:00
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(OsuColour colours)
|
|
|
|
|
{
|
|
|
|
|
Colour = colours.BlueLighter;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|