More bindables!

This commit is contained in:
smoogipooo
2017-03-10 13:08:59 +09:00
parent f44fa56646
commit cd1717c42f
7 changed files with 64 additions and 60 deletions

View File

@ -29,7 +29,6 @@ namespace osu.Desktop.VisualTests.Tests
Origin = Anchor.TopRight,
Anchor = Anchor.TopRight,
TextSize = 40,
Count = 0,
Margin = new MarginPadding(20),
};
Add(score);
@ -72,7 +71,7 @@ namespace osu.Desktop.VisualTests.Tests
AddButton(@"Reset all", delegate
{
score.Count = 0;
score.Current.Value = 0;
comboCounter.Count = 0;
numerator = denominator = 0;
accuracyCounter.SetFraction(0, 0);
@ -82,7 +81,7 @@ namespace osu.Desktop.VisualTests.Tests
AddButton(@"Hit! :D", delegate
{
score.Count += 300 + (ulong)(300.0 * (comboCounter.Count > 0 ? comboCounter.Count - 1 : 0) / 25.0);
score.Current.Value += 300 + (ulong)(300.0 * (comboCounter.Count > 0 ? comboCounter.Count - 1 : 0) / 25.0);
comboCounter.Count++;
numerator++; denominator++;
accuracyCounter.SetFraction(numerator, denominator);