mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:02:55 +08:00
Use new circle piece in test case.
This commit is contained in:
parent
2ff213d2c8
commit
c14759ebad
@ -78,21 +78,21 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
Position = new Vector2(350, 500)
|
||||
});
|
||||
|
||||
Add(new DrumRollCircle(new CirclePiece()
|
||||
Add(new DrumRollCirclePiece(new CirclePiece
|
||||
{
|
||||
KiaiMode = kiai
|
||||
})
|
||||
{
|
||||
Width = 250,
|
||||
Width = 0.25f,
|
||||
Position = new Vector2(575, 100)
|
||||
});
|
||||
|
||||
Add(new DrumRollCircle(new StrongCirclePiece()
|
||||
Add(new DrumRollCirclePiece(new StrongCirclePiece
|
||||
{
|
||||
KiaiMode = kiai
|
||||
})
|
||||
{
|
||||
Width = 250,
|
||||
Width = 0.25f,
|
||||
Position = new Vector2(575, 300)
|
||||
});
|
||||
}
|
||||
@ -119,20 +119,6 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
}
|
||||
}
|
||||
|
||||
private class DrumRollCircle : BaseCircle
|
||||
{
|
||||
public DrumRollCircle(CirclePiece piece)
|
||||
: base(piece)
|
||||
{
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
Piece.AccentColour = colours.YellowDark;
|
||||
}
|
||||
}
|
||||
|
||||
private class CentreHitCircle : BaseCircle
|
||||
{
|
||||
public CentreHitCircle(CirclePiece piece)
|
||||
|
Loading…
Reference in New Issue
Block a user