Ejemplo n.º 1
0
        private void testSingle(bool auto = false)
        {
            var circle = new Touch
            {
                StartTime = Time.Current + 1000,
                Position  = new Vector2(0, -1),
            };

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

            Add(new DrawableTouch(circle)
            {
                Anchor = Anchor.Centre,
                Origin = Anchor.Centre,
                Depth  = depthIndex++,
                Auto   = auto
            });
        }
Ejemplo n.º 2
0
        private void testAllPositions(bool auto = false)
        {
            foreach (var position in SentakkiPatternGenerator.VALID_TOUCH_POSITIONS)
            {
                var circle = new Touch
                {
                    StartTime = Time.Current + 1000,
                    Position  = position,
                };

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

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