1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 21:17:33 +08:00
osu-lazer/osu.Game.Modes.Taiko/Objects/Drawables/DrawableCentreHit.cs

28 lines
798 B
C#
Raw Normal View History

2017-03-28 09:51:22 +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;
2017-04-04 11:38:55 +08:00
using osu.Game.Graphics;
using osu.Game.Modes.Taiko.Objects.Drawables.Pieces;
using OpenTK.Input;
2017-03-28 09:33:23 +08:00
2017-04-04 11:38:55 +08:00
namespace osu.Game.Modes.Taiko.Objects.Drawables
2017-03-28 09:33:23 +08:00
{
public class DrawableCentreHit : DrawableHit
{
2017-03-29 14:35:22 +08:00
protected override Key[] HitKeys { get; } = { Key.F, Key.J };
2017-03-28 09:33:23 +08:00
public DrawableCentreHit(Hit hit)
: base(hit)
{
MainPiece.Add(new CentreHitSymbolPiece());
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
MainPiece.AccentColour = colours.PinkDarker;
2017-03-28 09:33:23 +08:00
}
}
}