コード例 #1
0
        private void testSingle(bool auto = false)
        {
            var circle = new TouchHold
            {
                StartTime = Time.Current + 1000,
                Duration  = 5000,
                Position  = new Vector2(0, 0)
            };

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

            var drawable = CreateDrawableTouchHoldNote(circle, auto);

            Add(drawable);
        }
コード例 #2
0
        private void testSingle(bool auto = false)
        {
            var circle = new TouchHold
            {
                StartTime = Time.Current + 1000,
                Duration  = 5000,
            };

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

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