Пример #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++,
            });
        }
Пример #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++,
                }
            });
        }
Пример #3
0
 public TestDrawableHardBeat(HardBeat h, bool auto)
     : base(h)
 {
     this.auto = auto;
 }