Beispiel #1
0
        public TestSceneCatchDistanceSnapGrid()
        {
            Child = new Container
            {
                Anchor           = Anchor.Centre,
                Origin           = Anchor.Centre,
                RelativeSizeAxes = Axes.Y,
                Width            = 500,

                Children = new Drawable[]
                {
                    new ScrollingTestContainer(ScrollingDirection.Down)
                    {
                        RelativeSizeAxes = Axes.Both,
                        Child            = playfield = new CatchPlayfield(new BeatmapDifficulty())
                        {
                            RelativeSizeAxes = Axes.Both,
                            Clock            = new FramedClock(manualClock)
                        }
                    },
                    distanceGrid = new CatchDistanceSnapGrid(new double[] { 0, -1, 1 }),
                    fruitOutline = new FruitOutline()
                },
            };
        }
Beispiel #2
0
 public FruitPlacementBlueprint()
 {
     InternalChild = outline = new FruitOutline();
 }
Beispiel #3
0
 public FruitSelectionBlueprint(Fruit hitObject)
     : base(hitObject)
 {
     InternalChild = outline = new FruitOutline();
 }