mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
More bindables!
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user