mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 02:17:46 +08:00
34 lines
967 B
C#
34 lines
967 B
C#
|
// 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.Containers;
|
||
|
using osu.Framework.Graphics.Shapes;
|
||
|
using osu.Game.Rulesets.Mania.Skinning.Default;
|
||
|
using osuTK.Graphics;
|
||
|
|
||
|
namespace osu.Game.Rulesets.Mania.Skinning.Argon
|
||
|
{
|
||
|
public class ArgonHitTarget : CompositeDrawable
|
||
|
{
|
||
|
[BackgroundDependencyLoader]
|
||
|
private void load()
|
||
|
{
|
||
|
RelativeSizeAxes = Axes.X;
|
||
|
Height = DefaultNotePiece.NOTE_HEIGHT;
|
||
|
|
||
|
InternalChildren = new[]
|
||
|
{
|
||
|
new Box
|
||
|
{
|
||
|
RelativeSizeAxes = Axes.Both,
|
||
|
Alpha = 0.3f,
|
||
|
Blending = BlendingParameters.Additive,
|
||
|
Colour = Color4.White
|
||
|
},
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
}
|