Ejemplo n.º 1
0
        private void load(DrawableHitObject drawableObject)
        {
            var drawableCatchObject = (DrawablePalpableCatchHitObject)drawableObject;

            hitObject = drawableCatchObject.HitObject;

            AddRangeInternal(new[]
            {
                getFruitFor(hitObject.VisualRepresentation),
                border = new BorderPiece(),
            });

            if (hitObject.HyperDash)
            {
                AddInternal(new HyperBorderPiece());
            }
        }
Ejemplo n.º 2
0
        private void load([CanBeNull] DrawableHitObject drawable)
        {
            drawableHitObject = (DrawableCatchHitObject)drawable;

            AddInternal(getFruitFor(VisualRepresentation.Value));

            // if it is not part of a DHO, the border is always invisible.
            if (drawableHitObject != null)
            {
                AddInternal(borderPiece = new BorderPiece());
            }

            if (HyperDash.Value)
            {
                AddInternal(new HyperBorderPiece());
            }
        }