2019-01-24 17:43:03 +09:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-04-13 18:19:50 +09:00
|
|
|
|
2022-06-17 16:37:17 +09:00
|
|
|
#nullable disable
|
|
|
|
|
2020-04-15 18:44:12 +09:00
|
|
|
using osu.Framework.Allocation;
|
2017-05-16 12:50:30 +09:00
|
|
|
using osu.Framework.Graphics;
|
2020-04-15 18:44:12 +09:00
|
|
|
using osu.Game.Graphics;
|
2018-04-13 18:19:50 +09:00
|
|
|
|
2020-12-07 12:30:25 +09:00
|
|
|
namespace osu.Game.Rulesets.Taiko.Skinning.Default
|
2017-04-05 10:01:40 +09:00
|
|
|
{
|
|
|
|
public class ElongatedCirclePiece : CirclePiece
|
|
|
|
{
|
2017-08-03 20:19:50 +09:30
|
|
|
public ElongatedCirclePiece()
|
2017-04-05 10:01:40 +09:00
|
|
|
{
|
2017-08-03 13:53:12 +09:30
|
|
|
RelativeSizeAxes = Axes.Y;
|
2017-04-05 10:01:40 +09:00
|
|
|
}
|
2018-04-13 18:19:50 +09:00
|
|
|
|
2020-04-15 18:44:12 +09:00
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
private void load(OsuColour colours)
|
|
|
|
{
|
|
|
|
AccentColour = colours.YellowDark;
|
|
|
|
}
|
|
|
|
|
2017-04-05 10:01:40 +09:00
|
|
|
protected override void Update()
|
|
|
|
{
|
|
|
|
base.Update();
|
2017-08-08 16:01:18 +09:00
|
|
|
Width = Parent.DrawSize.X + DrawHeight;
|
2017-04-05 10:01:40 +09:00
|
|
|
}
|
|
|
|
}
|
2017-04-21 13:45:11 +09:00
|
|
|
}
|