1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-16 00:37:26 +08:00
osu-lazer/osu.Game.Rulesets.Taiko/Skinning/Argon/ArgonCentreCirclePiece.cs

35 lines
1.0 KiB
C#
Raw Normal View History

2022-11-02 15:52:09 +08: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;
2022-11-02 15:52:09 +08:00
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Sprites;
using osuTK;
2022-11-02 15:52:09 +08:00
using osuTK.Graphics;
namespace osu.Game.Rulesets.Taiko.Skinning.Argon
{
2022-11-24 13:32:20 +08:00
public partial class ArgonCentreCirclePiece : ArgonCirclePiece
2022-11-02 15:52:09 +08:00
{
[BackgroundDependencyLoader]
private void load()
{
AccentColour = ColourInfo.GradientVertical(
new Color4(241, 0, 0, 255),
new Color4(167, 0, 0, 255)
);
AddInternal(new SpriteIcon
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Icon = FontAwesome.Solid.AngleLeft,
2022-11-07 14:39:24 +08:00
Size = new Vector2(ICON_SIZE),
Scale = new Vector2(0.8f, 1)
});
2022-11-02 15:52:09 +08:00
}
}
}