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

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

            var drawable = new TestDrawableHoldNote(circle, auto);

            Add(drawable);
        }
Ejemplo n.º 2
0
        private void testSingle(double duration, bool auto = false)
        {
            var circle = new Hold
            {
                StartTime = Time.Current + 1000,
                EndTime   = Time.Current + 1000 + duration,
            };

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

            Add(new DrawableHold(circle)
            {
                Anchor = Anchor.Centre,
                Origin = Anchor.Centre,
                Depth  = depthIndex++,
                Auto   = auto
            });
        }
Ejemplo n.º 3
0
        private void addHold()
        {
            var hold = new Hold
            {
                StartTime = Time.Current + 1000,
                EndTime   = Time.Current + 6000,
                Position  = new Vector2(0, 0),
            };

            hold.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty {
                CircleSize = 2
            });

            Add(new TestDrawableHold(hold, false)
            {
                Anchor = Anchor.Centre,
                Origin = Anchor.Centre,
            });
        }
Ejemplo n.º 4
0
        private void testSingle(double duration, bool auto = false)
        {
            var circle = new Hold
            {
                StartTime   = Time.Current + 1000,
                EndTime     = Time.Current + 1000 + duration,
                Position    = new Vector2(0, -66),
                EndPosition = new Vector2(0, -296.5f),
                Angle       = 0f,
                NoteColor   = Color4.Crimson,
            };

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

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