osu/osu.Game.Rulesets.Taiko/Skinning/Legacy/LegacyBarLine.cs

28 lines
748 B
C#
Raw Normal View History

2020-04-23 05:32:48 +00: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.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Skinning;
using osuTK;
2020-12-07 03:30:25 +00:00
namespace osu.Game.Rulesets.Taiko.Skinning.Legacy
2020-04-23 05:32:48 +00:00
{
public class LegacyBarLine : Sprite
{
[BackgroundDependencyLoader]
private void load(ISkinSource skin)
{
Texture = skin.GetTexture("taiko-barline");
Anchor = Anchor.Centre;
Origin = Anchor.Centre;
RelativeSizeAxes = Axes.Both;
Size = new Vector2(1, 0.88f);
FillMode = FillMode.Fill;
}
}
}