Пример #1
0
        private Drawable testSingle(float circleSize, bool auto = false, double timeOffset = 0, Vector2?positionOffset = null)
        {
            var drawable = createSingle(circleSize, auto, timeOffset, positionOffset);

            var playfield = new TestOsuPlayfield();

            playfield.Add(drawable);
            return(playfield);
        }
Пример #2
0
        private Drawable testStream(float circleSize, bool auto = false, double hitOffset = 0)
        {
            var playfield = new TestOsuPlayfield();

            Vector2 pos = new Vector2(-250, 0);

            for (int i = 0; i <= 1000; i += 100)
            {
                playfield.Add(createSingle(circleSize, auto, i, pos, hitOffset));
                pos.X += 50;
            }

            return(playfield);
        }