Example #1
0
        private void testSingle(bool auto = false)
        {
            var circle = new HardBeat
            {
                StartTime = Time.Current + 1000,
            };

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

            Add(new TestDrawableHardBeat(circle, auto)
            {
                Anchor = Anchor.Centre,
                Origin = Anchor.Centre,
                Depth  = depthIndex++,
            });
        }
Example #2
0
        private Drawable testSingle(bool auto = false)
        {
            var circle = new HardBeat
            {
                StartTime = Time.Current + 1000,
            };

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

            return(new Container
            {
                Anchor = Anchor.Centre,
                Origin = Anchor.Centre,
                RelativeSizeAxes = Axes.Both,
                Size = new Vector2(0.6f),
                Child = new TestDrawableHardBeat(circle, auto)
                {
                    Anchor = Anchor.Centre,
                    Origin = Anchor.Centre,
                    Depth = depthIndex++,
                }
            });
        }