mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Modified ManiaComboCounter behavior
This to match more with the current behavior in osu!mania.
This commit is contained in:
@ -32,6 +32,8 @@ namespace osu.Desktop.Tests
|
||||
|
||||
int numerator = 0, denominator = 0;
|
||||
|
||||
bool maniaHold = false;
|
||||
|
||||
ScoreCounter score = new ScoreCounter(7)
|
||||
{
|
||||
Origin = Anchor.TopRight,
|
||||
@ -72,7 +74,7 @@ namespace osu.Desktop.Tests
|
||||
};
|
||||
Add(taikoCombo);
|
||||
|
||||
ComboCounter maniaCombo = new ManiaComboCounter
|
||||
ManiaComboCounter maniaCombo = new ManiaComboCounter
|
||||
{
|
||||
Origin = Anchor.Centre,
|
||||
Anchor = Anchor.Centre,
|
||||
@ -147,6 +149,15 @@ namespace osu.Desktop.Tests
|
||||
accuracyCombo.SetFraction(numerator, denominator);
|
||||
});
|
||||
|
||||
AddButton(@"mania hold", delegate
|
||||
{
|
||||
if (!maniaHold)
|
||||
maniaCombo.HoldStart();
|
||||
else
|
||||
maniaCombo.HoldEnd();
|
||||
maniaHold = !maniaHold;
|
||||
});
|
||||
|
||||
AddButton(@"Alter stars", delegate
|
||||
{
|
||||
stars.Count = RNG.NextSingle() * (stars.MaxStars + 1);
|
||||
|
Reference in New Issue
Block a user