mirror of
https://github.com/osukey/osukey.git
synced 2025-06-07 20:37:57 +09:00
Remove unused VisualRepresentation
This commit is contained in:
parent
2deaae270c
commit
14a4fad6f1
@ -2,14 +2,12 @@
|
|||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Bindables;
|
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.Shapes;
|
using osu.Framework.Graphics.Shapes;
|
||||||
using osu.Framework.Graphics.Sprites;
|
using osu.Framework.Graphics.Sprites;
|
||||||
using osu.Framework.Graphics.Textures;
|
using osu.Framework.Graphics.Textures;
|
||||||
using osu.Framework.Utils;
|
using osu.Framework.Utils;
|
||||||
using osu.Game.Rulesets.Catch.Objects;
|
|
||||||
using osu.Game.Rulesets.Catch.Skinning.Default;
|
using osu.Game.Rulesets.Catch.Skinning.Default;
|
||||||
using osu.Game.Rulesets.Catch.UI;
|
using osu.Game.Rulesets.Catch.UI;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
@ -18,8 +16,6 @@ namespace osu.Game.Rulesets.Catch.Skinning.Argon
|
|||||||
{
|
{
|
||||||
internal class ArgonFruitPiece : CatchHitObjectPiece
|
internal class ArgonFruitPiece : CatchHitObjectPiece
|
||||||
{
|
{
|
||||||
public readonly Bindable<FruitVisualRepresentation> VisualRepresentation = new Bindable<FruitVisualRepresentation>();
|
|
||||||
|
|
||||||
protected override Drawable HyperBorderPiece => hyperBorderPiece;
|
protected override Drawable HyperBorderPiece => hyperBorderPiece;
|
||||||
|
|
||||||
private Drawable hyperBorderPiece = null!;
|
private Drawable hyperBorderPiece = null!;
|
||||||
@ -91,11 +87,6 @@ namespace osu.Game.Rulesets.Catch.Skinning.Argon
|
|||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
|
||||||
IndexInBeatmap.BindValueChanged(index =>
|
|
||||||
{
|
|
||||||
VisualRepresentation.Value = Fruit.GetVisualRepresentation(index.NewValue);
|
|
||||||
}, true);
|
|
||||||
|
|
||||||
AccentColour.BindValueChanged(colour =>
|
AccentColour.BindValueChanged(colour =>
|
||||||
{
|
{
|
||||||
foreach (var sprite in layers)
|
foreach (var sprite in layers)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user