osu/osu.Game.Rulesets.Catch/UI/CatchPlayfield.cs

33 lines
945 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;
2017-04-18 07:05:58 +00:00
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.UI;
using OpenTK;
2017-04-18 07:05:58 +00:00
using osu.Game.Rulesets.Catch.Judgements;
2017-04-18 07:05:58 +00:00
namespace osu.Game.Rulesets.Catch.UI
{
public class CatchPlayfield : Playfield<CatchBaseHit, CatchJudgement>
{
public CatchPlayfield()
{
2017-08-02 11:41:38 +00:00
Size = new Vector2(1);
Anchor = Anchor.TopCentre;
Origin = Anchor.TopCentre;
2017-08-02 11:28:24 +00:00
Children = new Drawable[]
{
2017-08-07 06:09:31 +00:00
new CatcherArea
2017-08-02 11:28:24 +00:00
{
RelativeSizeAxes = Axes.Both,
2017-08-07 06:09:31 +00:00
Anchor = Anchor.BottomLeft,
Origin = Anchor.TopLeft,
Height = 0.3f
2017-08-02 11:28:24 +00:00
}
};
}
}
}