Пример #1
0
        public DropletPiece()
        {
            Size = new Vector2(CatchHitObject.OBJECT_RADIUS / 2);

            InternalChildren = new Drawable[]
            {
                new Pulp
                {
                    RelativeSizeAxes = Axes.Both,
                    AccentColour     = { BindTarget = AccentColour }
                },
                HyperBorderPiece = new HyperDropletBorderPiece()
            };
        }
Пример #2
0
        public FruitPiece()
        {
            RelativeSizeAxes = Axes.Both;

            InternalChildren = new Drawable[]
            {
                new FruitPulpFormation
                {
                    AccentColour         = { BindTarget = AccentColour },
                    VisualRepresentation = { BindTarget = VisualRepresentation }
                },
                BorderPiece      = new BorderPiece(),
                HyperBorderPiece = new HyperBorderPiece()
            };
        }