mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 14:12:54 +08:00
50 lines
1.7 KiB
C#
50 lines
1.7 KiB
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.Graphics;
|
|
using osu.Game.Rulesets.Catch.Objects.Drawables.Pieces;
|
|
using osuTK;
|
|
|
|
namespace osu.Game.Rulesets.Catch.Objects.Drawables
|
|
{
|
|
public class PineapplePiece : PulpFormation
|
|
{
|
|
public PineapplePiece()
|
|
{
|
|
InternalChildren = new Drawable[]
|
|
{
|
|
new Pulp
|
|
{
|
|
AccentColour = { BindTarget = AccentColour },
|
|
Size = new Vector2(SMALL_PULP),
|
|
Y = -0.3f,
|
|
},
|
|
new Pulp
|
|
{
|
|
AccentColour = { BindTarget = AccentColour },
|
|
Size = new Vector2(LARGE_PULP_4),
|
|
Position = PositionAt(45, DISTANCE_FROM_CENTRE_4),
|
|
},
|
|
new Pulp
|
|
{
|
|
AccentColour = { BindTarget = AccentColour },
|
|
Size = new Vector2(LARGE_PULP_4),
|
|
Position = PositionAt(135, DISTANCE_FROM_CENTRE_4),
|
|
},
|
|
new Pulp
|
|
{
|
|
AccentColour = { BindTarget = AccentColour },
|
|
Size = new Vector2(LARGE_PULP_4),
|
|
Position = PositionAt(225, DISTANCE_FROM_CENTRE_4),
|
|
},
|
|
new Pulp
|
|
{
|
|
Size = new Vector2(LARGE_PULP_4),
|
|
AccentColour = { BindTarget = AccentColour },
|
|
Position = PositionAt(315, DISTANCE_FROM_CENTRE_4),
|
|
},
|
|
};
|
|
}
|
|
}
|
|
}
|