mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08:00
Apply new resharper formatting fixes
This commit is contained in:
parent
7274213cce
commit
7dc19220e5
@ -61,7 +61,9 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
private DrawableSlider slider;
|
private DrawableSlider slider;
|
||||||
|
|
||||||
[SetUpSteps]
|
[SetUpSteps]
|
||||||
public override void SetUpSteps() { }
|
public override void SetUpSteps()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
[TestCase(0)]
|
[TestCase(0)]
|
||||||
[TestCase(1)]
|
[TestCase(1)]
|
||||||
@ -132,10 +134,9 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
checkPositionChange(16600, sliderRepeat, positionDecreased);
|
checkPositionChange(16600, sliderRepeat, positionDecreased);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void retrieveDrawableSlider(int index) => AddStep($"retrieve {(index + 1).ToOrdinalWords()} slider", () =>
|
private void retrieveDrawableSlider(int index) =>
|
||||||
{
|
AddStep($"retrieve {(index + 1).ToOrdinalWords()} slider", () =>
|
||||||
slider = (DrawableSlider)Player.DrawableRuleset.Playfield.AllHitObjects.ElementAt(index);
|
slider = (DrawableSlider)Player.DrawableRuleset.Playfield.AllHitObjects.ElementAt(index));
|
||||||
});
|
|
||||||
|
|
||||||
private void ensureSnakingIn(double startTime) => checkPositionChange(startTime, sliderEnd, positionIncreased);
|
private void ensureSnakingIn(double startTime) => checkPositionChange(startTime, sliderEnd, positionIncreased);
|
||||||
private void ensureNoSnakingIn(double startTime) => checkPositionChange(startTime, sliderEnd, positionRemainsSame);
|
private void ensureNoSnakingIn(double startTime) => checkPositionChange(startTime, sliderEnd, positionRemainsSame);
|
||||||
|
@ -21,7 +21,10 @@ namespace osu.Game.Tournament.Screens.Gameplay.Components
|
|||||||
|
|
||||||
private TeamDisplay teamDisplay;
|
private TeamDisplay teamDisplay;
|
||||||
|
|
||||||
public bool ShowScore { set => teamDisplay.ShowScore = value; }
|
public bool ShowScore
|
||||||
|
{
|
||||||
|
set => teamDisplay.ShowScore = value;
|
||||||
|
}
|
||||||
|
|
||||||
public TeamScoreDisplay(TeamColour teamColour)
|
public TeamScoreDisplay(TeamColour teamColour)
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,9 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
|
|
||||||
private BindableNumber<double> health;
|
private BindableNumber<double> health;
|
||||||
|
|
||||||
public void ReadFromDifficulty(BeatmapDifficulty difficulty) { }
|
public void ReadFromDifficulty(BeatmapDifficulty difficulty)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public void ApplyToDifficulty(BeatmapDifficulty difficulty)
|
public void ApplyToDifficulty(BeatmapDifficulty difficulty)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user