1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-30 08:42:55 +08:00
osu-lazer/osu.Game.Rulesets.Mania/Edit/Blueprints/Components/EditBodyPiece.cs

22 lines
614 B
C#
Raw Normal View History

// 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-11-19 17:59:05 +08:00
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mania.Objects.Drawables.Pieces;
namespace osu.Game.Rulesets.Mania.Edit.Blueprints.Components
{
2020-03-31 15:42:35 +08:00
public class EditBodyPiece : DefaultBodyPiece
2018-11-19 17:59:05 +08:00
{
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
2020-03-31 15:42:35 +08:00
AccentColour.Value = colours.Yellow;
Background.Alpha = 0.5f;
Foreground.Alpha = 0;
2018-11-19 17:59:05 +08:00
}
}
}