// Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Rulesets.UI; using OpenTK; using osu.Game.Rulesets.Catch.Judgements; namespace osu.Game.Rulesets.Catch.UI { public class CatchPlayfield : Playfield { public CatchPlayfield() { Size = new Vector2(1, 0.9f); Anchor = Anchor.BottomCentre; Origin = Anchor.BottomCentre; Children = new Drawable[] { new Box { RelativeSizeAxes = Axes.Both, Alpha = 0.5f }, new Catcher { RelativePositionAxes = Axes.Both, RelativeSizeAxes = Axes.Both, Scale = new Vector2(0.2f), FillMode = FillMode.Fit, Origin = Anchor.TopCentre, Position = new Vector2(0.5f, 0.9f), } }; } } }