Ejemplo n.º 1
0
        private void testSingle(bool auto = false)
        {
            var circle = new Break
            {
                StartTime   = Time.Current + 1000,
                Position    = new Vector2(0, -66f),
                Angle       = 0,
                endPosition = new Vector2(0, -296.5f),
                NoteColor   = Color4.OrangeRed,
            };

            circle.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty {
            });

            var drawable = CreateDrawableBreakNote(circle, auto);

            Add(drawable);
        }
Ejemplo n.º 2
0
        private void testSingle(bool auto = false)
        {
            var circle = new Break
            {
                StartTime   = Time.Current + 1000,
                Position    = new Vector2(0, -66f),
                Angle       = 0,
                EndPosition = new Vector2(0, -296.5f),
                NoteColor   = Color4.OrangeRed,
            };

            circle.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty {
            });

            Add(new DrawableBreak(circle)
            {
                Anchor = Anchor.Centre,
                Origin = Anchor.Centre,
                Depth  = depthIndex++,
                Auto   = auto
            });
        }