1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

Add playfield background implementations

This commit is contained in:
Dean Herbert 2022-11-07 13:16:51 +09:00
parent bc0e9375af
commit 421bdd2c1a
3 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,27 @@
// 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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace osu.Game.Rulesets.Taiko.Skinning.Argon
{
public class ArgonPlayfieldBackgroundLeft : CompositeDrawable
{
public ArgonPlayfieldBackgroundLeft()
{
RelativeSizeAxes = Axes.Both;
InternalChildren = new Drawable[]
{
new Box
{
Colour = Color4.Black,
RelativeSizeAxes = Axes.Both,
},
};
}
}
}

View File

@ -0,0 +1,28 @@
// 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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace osu.Game.Rulesets.Taiko.Skinning.Argon
{
public class ArgonPlayfieldBackgroundRight : CompositeDrawable
{
public ArgonPlayfieldBackgroundRight()
{
RelativeSizeAxes = Axes.Both;
InternalChildren = new Drawable[]
{
new Box
{
Colour = Color4.Black,
Alpha = 0.7f,
RelativeSizeAxes = Axes.Both,
},
};
}
}
}

View File

@ -26,6 +26,12 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Argon
case TaikoSkinComponents.RimHit:
return new ArgonRimCirclePiece();
case TaikoSkinComponents.PlayfieldBackgroundLeft:
return new ArgonPlayfieldBackgroundLeft();
case TaikoSkinComponents.PlayfieldBackgroundRight:
return new ArgonPlayfieldBackgroundRight();
}
break;