2017-03-17 21:01:06 +08:00
|
|
|
|
using OpenTK;
|
|
|
|
|
using osu.Framework.Screens.Testing;
|
2017-03-20 15:50:22 +08:00
|
|
|
|
using osu.Game.Modes.Taiko.Objects.Drawable.Pieces;
|
2017-03-17 21:01:06 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Desktop.VisualTests.Tests
|
|
|
|
|
{
|
|
|
|
|
internal class TestCaseTaikoHitObjects : TestCase
|
|
|
|
|
{
|
|
|
|
|
public override string Description => "Taiko hit objects";
|
|
|
|
|
|
|
|
|
|
public override void Reset()
|
|
|
|
|
{
|
|
|
|
|
base.Reset();
|
|
|
|
|
|
|
|
|
|
Add(new CentreHitCirclePiece
|
|
|
|
|
{
|
2017-03-20 14:07:42 +08:00
|
|
|
|
Position = new Vector2(100, 100)
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Add(new FinisherPiece(new CentreHitCirclePiece())
|
|
|
|
|
{
|
|
|
|
|
Position = new Vector2(350, 100)
|
2017-03-17 21:01:06 +08:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Add(new RimHitCirclePiece
|
|
|
|
|
{
|
2017-03-20 15:53:31 +08:00
|
|
|
|
Position = new Vector2(100, 300)
|
2017-03-20 14:07:42 +08:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Add(new FinisherPiece(new RimHitCirclePiece())
|
|
|
|
|
{
|
2017-03-20 15:53:31 +08:00
|
|
|
|
Position = new Vector2(350, 300)
|
2017-03-17 21:01:06 +08:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Add(new BashCirclePiece
|
|
|
|
|
{
|
2017-03-20 15:53:31 +08:00
|
|
|
|
Position = new Vector2(100, 500)
|
2017-03-20 14:07:42 +08:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Add(new FinisherPiece(new BashCirclePiece())
|
|
|
|
|
{
|
2017-03-20 15:53:31 +08:00
|
|
|
|
Position = new Vector2(350, 500)
|
2017-03-17 21:01:06 +08:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Add(new DrumRollCirclePiece
|
|
|
|
|
{
|
2017-03-20 14:07:42 +08:00
|
|
|
|
Width = 250,
|
2017-03-20 15:53:31 +08:00
|
|
|
|
Position = new Vector2(575, 100)
|
2017-03-20 14:07:42 +08:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Add(new FinisherPiece(new DrumRollCirclePiece()
|
|
|
|
|
{
|
|
|
|
|
Width = 250
|
|
|
|
|
})
|
|
|
|
|
{
|
2017-03-20 15:53:31 +08:00
|
|
|
|
Position = new Vector2(575, 300)
|
2017-03-17 21:01:06 +08:00
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|