2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-04-05 09:01:40 +08:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using osu.Game.Graphics;
|
|
|
|
|
using OpenTK.Graphics;
|
2017-05-23 16:36:35 +08:00
|
|
|
|
using osu.Game.Graphics.Containers;
|
2017-08-03 12:23:12 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
2017-04-05 09:01:40 +08:00
|
|
|
|
|
2017-04-18 15:05:58 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Objects.Drawables.Pieces
|
2017-04-05 09:01:40 +08:00
|
|
|
|
{
|
2017-05-23 16:36:35 +08:00
|
|
|
|
public class TaikoPiece : BeatSyncedContainer, IHasAccentColour
|
2017-04-05 09:01:40 +08:00
|
|
|
|
{
|
|
|
|
|
private Color4 accentColour;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The colour of the inner circle and outer glows.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual Color4 AccentColour
|
|
|
|
|
{
|
|
|
|
|
get { return accentColour; }
|
2017-05-23 16:36:35 +08:00
|
|
|
|
set { accentColour = value; }
|
2017-04-05 09:01:40 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool kiaiMode;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Whether Kiai mode effects are enabled for this circle piece.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual bool KiaiMode
|
|
|
|
|
{
|
|
|
|
|
get { return kiaiMode; }
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
kiaiMode = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public TaikoPiece()
|
|
|
|
|
{
|
2017-08-03 12:23:12 +08:00
|
|
|
|
RelativeSizeAxes = Axes.Both;
|
2017-04-05 09:01:40 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|