osu/osu.Game/Graphics/UserInterface/ScoreCounter.cs
Adonais Romero González 00cfc51004 Rolling counters (initial)
2016-10-07 02:05:02 -05:00

22 lines
523 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace osu.Game.Graphics.UserInterface
{
public class ScoreCounter : ULongCounter
{
/// <summary>
/// How many leading zeroes the counter will have.
/// </summary>
public uint LeadingZeroes = 0;
protected override string formatCount(ulong count)
{
return count.ToString("D" + LeadingZeroes);
}
}
}