1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-31 01:42:55 +08:00
osu-lazer/osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableRimHit.cs

27 lines
814 B
C#
Raw Normal View History

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