2017-03-20 16:02:06 +08:00
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
2017-03-20 15:50:22 +08:00
|
|
|
using osu.Framework.Graphics;
|
|
|
|
using osu.Framework.Graphics.Containers;
|
|
|
|
|
|
|
|
namespace osu.Game.Modes.Taiko.Objects.Drawable.Pieces
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// A type of circle piece that will be scrolling the screen.
|
|
|
|
/// <para>
|
|
|
|
/// A scrolling circle piece must always have a centre-left origin due to how scroll position is calculated.
|
|
|
|
/// </para>
|
|
|
|
/// </summary>
|
2017-03-24 14:44:43 +08:00
|
|
|
public class ScrollingPiece : Container
|
2017-03-20 15:50:22 +08:00
|
|
|
{
|
|
|
|
public override Anchor Origin => Anchor.CentreLeft;
|
|
|
|
}
|
|
|
|
}
|