2020-02-19 22:32:56 +08: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.Graphics;
|
|
|
|
using osuTK;
|
|
|
|
|
2020-11-26 13:26:38 +08:00
|
|
|
namespace osu.Game.Rulesets.Catch.Objects.Drawables.Pieces
|
2020-02-19 22:32:56 +08:00
|
|
|
{
|
|
|
|
public class RaspberryPiece : PulpFormation
|
|
|
|
{
|
|
|
|
public RaspberryPiece()
|
|
|
|
{
|
|
|
|
InternalChildren = new Drawable[]
|
|
|
|
{
|
|
|
|
new Pulp
|
|
|
|
{
|
|
|
|
AccentColour = { BindTarget = AccentColour },
|
|
|
|
Size = new Vector2(SMALL_PULP),
|
|
|
|
Y = -0.34f,
|
|
|
|
},
|
|
|
|
new Pulp
|
|
|
|
{
|
|
|
|
AccentColour = { BindTarget = AccentColour },
|
|
|
|
Size = new Vector2(LARGE_PULP_4),
|
|
|
|
Position = PositionAt(0, DISTANCE_FROM_CENTRE_4),
|
|
|
|
},
|
|
|
|
new Pulp
|
|
|
|
{
|
|
|
|
AccentColour = { BindTarget = AccentColour },
|
|
|
|
Size = new Vector2(LARGE_PULP_4),
|
|
|
|
Position = PositionAt(90, DISTANCE_FROM_CENTRE_4),
|
|
|
|
},
|
|
|
|
new Pulp
|
|
|
|
{
|
|
|
|
AccentColour = { BindTarget = AccentColour },
|
|
|
|
Size = new Vector2(LARGE_PULP_4),
|
|
|
|
Position = PositionAt(180, DISTANCE_FROM_CENTRE_4),
|
|
|
|
},
|
|
|
|
new Pulp
|
|
|
|
{
|
|
|
|
Size = new Vector2(LARGE_PULP_4),
|
|
|
|
AccentColour = { BindTarget = AccentColour },
|
|
|
|
Position = PositionAt(270, DISTANCE_FROM_CENTRE_4),
|
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|