1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 18:52:55 +08:00

Make parameters required

This commit is contained in:
Salman Ahmed 2020-04-03 19:53:38 +03:00
parent 0340b6db51
commit dd684b68d9

View File

@ -109,7 +109,7 @@ namespace osu.Game.Rulesets.Catch.Tests
: checkFruitHyperDashColour(drawableFruit, TestSkin.CustomHyperDashColour));
}
private Drawable setupSkinHierarchy(Drawable child, bool customCatcherColour = false, bool customAfterColour = false, bool customFruitColour = false, bool legacySkin = true)
private Drawable setupSkinHierarchy(Drawable child, bool customCatcherColour, bool customAfterColour, bool customFruitColour, bool legacySkin = true)
{
var testSkinProvider = new SkinProvidingContainer(new TestSkin(customCatcherColour, customAfterColour, customFruitColour));
@ -143,7 +143,7 @@ namespace osu.Game.Rulesets.Catch.Tests
private readonly bool customAfterColour;
private readonly bool customFruitColour;
public TestSkin(bool customCatcherColour = false, bool customAfterColour = false, bool customFruitColour = false)
public TestSkin(bool customCatcherColour, bool customAfterColour, bool customFruitColour)
{
this.customCatcherColour = customCatcherColour;
this.customAfterColour = customAfterColour;