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
|
|
|
|
|
|
2017-03-29 13:01:01 +08:00
|
|
|
|
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-04-04 11:38:55 +08:00
|
|
|
|
using OpenTK.Input;
|
2017-03-28 09:33:23 +08:00
|
|
|
|
|
2017-04-18 15:05:58 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
2017-03-28 09:33:23 +08:00
|
|
|
|
{
|
2017-04-05 09:37:49 +08:00
|
|
|
|
public class DrawableCentreHitStrong : DrawableHitStrong
|
2017-03-28 09:33:23 +08:00
|
|
|
|
{
|
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
|
|
|
|
|
2017-04-05 09:37:49 +08:00
|
|
|
|
public DrawableCentreHitStrong(Hit hit)
|
2017-03-28 09:33:23 +08:00
|
|
|
|
: base(hit)
|
|
|
|
|
{
|
2017-04-05 09:01:40 +08:00
|
|
|
|
MainPiece.Add(new CentreHitSymbolPiece());
|
2017-03-29 13:01:01 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(OsuColour colours)
|
|
|
|
|
{
|
2017-04-05 09:01:40 +08:00
|
|
|
|
MainPiece.AccentColour = colours.PinkDarker;
|
2017-03-28 09:33:23 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|