osu/osu.Game/Overlays/BeatmapSet/ExplicitContentBeatmapBadge.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
570 B
C#
Raw Normal View History

2021-01-12 15:15:00 +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.Game.Graphics;
using osu.Game.Resources.Localisation.Web;
2021-01-12 15:15:00 +00:00
namespace osu.Game.Overlays.BeatmapSet
{
2022-05-14 17:52:38 +00:00
public class ExplicitContentBeatmapBadge : BeatmapBadge
2021-01-12 15:15:00 +00:00
{
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
BadgeText = BeatmapsetsStrings.NsfwBadgeLabel;
BadgeColour = colours.Orange2;
}
2021-01-12 15:15:00 +00:00
}
}