osu/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableCentreHit.cs

27 lines
829 B
C#
Raw Normal View History

2018-01-05 11:21:19 +00:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
2017-03-28 01:51:22 +00:00
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
2017-04-04 03:38:55 +00:00
using osu.Game.Graphics;
2017-04-18 07:05:58 +00:00
using osu.Game.Rulesets.Taiko.Objects.Drawables.Pieces;
2017-03-28 01:33:23 +00:00
2017-04-18 07:05:58 +00:00
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
2017-03-28 01:33:23 +00:00
{
public class DrawableCentreHit : DrawableHit
{
2017-08-20 12:18:21 +00:00
protected override TaikoAction[] HitActions { get; } = { TaikoAction.LeftCentre, TaikoAction.RightCentre };
2017-03-28 01:33:23 +00:00
public DrawableCentreHit(Hit hit)
: base(hit)
{
MainPiece.Add(new CentreHitSymbolPiece());
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
MainPiece.AccentColour = colours.PinkDarker;
2017-03-28 01:33:23 +00:00
}
}
}