mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 01:07:25 +08:00
33 lines
945 B
C#
33 lines
945 B
C#
// 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.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<CatchBaseHit, CatchJudgement>
|
|
{
|
|
public CatchPlayfield()
|
|
{
|
|
Size = new Vector2(1);
|
|
|
|
Anchor = Anchor.TopCentre;
|
|
Origin = Anchor.TopCentre;
|
|
|
|
Children = new Drawable[]
|
|
{
|
|
new CatcherArea
|
|
{
|
|
RelativeSizeAxes = Axes.Both,
|
|
Anchor = Anchor.BottomLeft,
|
|
Origin = Anchor.TopLeft,
|
|
Height = 0.3f
|
|
}
|
|
};
|
|
}
|
|
}
|
|
} |