mirror of
https://github.com/ppy/osu.git
synced 2025-02-26 06:02:59 +08:00
Fix test not working for droplets/tinydroplets
This commit is contained in:
parent
3ecc47cd3e
commit
a193fb7907
@ -30,9 +30,8 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
|
|
||||||
private Drawable createDrawableTinyDroplet()
|
private Drawable createDrawableTinyDroplet()
|
||||||
{
|
{
|
||||||
var droplet = new TinyDroplet
|
var droplet = new TestCatchTinyDroplet
|
||||||
{
|
{
|
||||||
StartTime = Clock.CurrentTime,
|
|
||||||
Scale = 1.5f,
|
Scale = 1.5f,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -49,9 +48,8 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
|
|
||||||
private Drawable createDrawableDroplet()
|
private Drawable createDrawableDroplet()
|
||||||
{
|
{
|
||||||
var droplet = new Droplet
|
var droplet = new TestCatchDroplet
|
||||||
{
|
{
|
||||||
StartTime = Clock.CurrentTime,
|
|
||||||
Scale = 1.5f,
|
Scale = 1.5f,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -95,5 +93,21 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
|
|
||||||
public override FruitVisualRepresentation VisualRepresentation { get; }
|
public override FruitVisualRepresentation VisualRepresentation { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class TestCatchDroplet : Droplet
|
||||||
|
{
|
||||||
|
public TestCatchDroplet()
|
||||||
|
{
|
||||||
|
StartTime = 1000000000000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class TestCatchTinyDroplet : TinyDroplet
|
||||||
|
{
|
||||||
|
public TestCatchTinyDroplet()
|
||||||
|
{
|
||||||
|
StartTime = 1000000000000;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user