Use virtual property instead of a field for optional pieces

This commit is contained in:
ekrctb
2020-12-08 17:15:40 +09:00
parent 603cecb2eb
commit 4d5c242d35
4 changed files with 15 additions and 2 deletions

View File

@ -16,6 +16,9 @@ namespace osu.Game.Rulesets.Catch.Skinning.Default
public readonly Bindable<FruitVisualRepresentation> VisualRepresentation = new Bindable<FruitVisualRepresentation>();
protected override BorderPiece BorderPiece { get; }
protected override HyperBorderPiece HyperBorderPiece { get; }
public FruitPiece()
{
RelativeSizeAxes = Axes.Both;