1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-08 13:47:52 +08:00
osu-lazer/osu.Game.Modes.Catch/UI/CatchPlayfield.cs

23 lines
669 B
C#
Raw Normal View History

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
2016-11-14 17:54:24 +08:00
using osu.Game.Modes.UI;
using OpenTK;
2016-11-14 17:54:24 +08:00
namespace osu.Game.Modes.Catch.UI
{
public class CatchPlayfield : Playfield
{
public CatchPlayfield()
{
RelativeSizeAxes = Axes.Y;
Size = new Vector2(512, 0.9f);
Anchor = Anchor.BottomCentre;
Origin = Anchor.BottomCentre;
Add(new Box { RelativeSizeAxes = Axes.Both, Alpha = 0.5f });
}
}
}