You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
352 B
C#
15 lines
352 B
C#
2 months ago
|
using D2D.Databases;
|
||
|
using D2D.Utilities;
|
||
|
|
||
|
namespace D2D.UI
|
||
|
{
|
||
|
public class LevelLabel : LabelBase
|
||
|
{
|
||
|
protected override float UpdateRate => 999f;
|
||
|
|
||
|
protected override float StartRate => .1f;
|
||
|
|
||
|
protected override string GetText() =>
|
||
|
$"{this.FindLazy<GameProgressionDatabase>().PassedLevels.Value + 1}";
|
||
|
}
|
||
|
}
|