2017-03-28 02:18:12 +00: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-29 05:01:01 +00:00
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Game.Graphics;
|
2017-04-18 07:05:58 +00:00
|
|
|
|
using osu.Game.Rulesets.Taiko.Objects.Drawables.Pieces;
|
2017-03-28 02:18:12 +00:00
|
|
|
|
|
2017-04-18 07:05:58 +00:00
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
2017-03-28 02:18:12 +00:00
|
|
|
|
{
|
|
|
|
|
public class DrawableRimHit : DrawableHit
|
|
|
|
|
{
|
2017-08-20 12:18:21 +00:00
|
|
|
|
protected override TaikoAction[] HitActions { get; } = { TaikoAction.LeftRim, TaikoAction.RightRim };
|
2017-03-28 02:18:12 +00:00
|
|
|
|
|
|
|
|
|
public DrawableRimHit(Hit hit)
|
|
|
|
|
: base(hit)
|
|
|
|
|
{
|
2017-04-05 01:01:40 +00:00
|
|
|
|
MainPiece.Add(new RimHitSymbolPiece());
|
2017-03-29 05:01:01 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(OsuColour colours)
|
|
|
|
|
{
|
2017-04-05 01:01:40 +00:00
|
|
|
|
MainPiece.AccentColour = colours.BlueDarker;
|
2017-03-28 02:18:12 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|