1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 06:07:28 +08:00
osu-lazer/osu.Game.Modes.Taiko/Objects/Drawable/DrawableStrongCentreHit.cs

32 lines
926 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
2017-03-28 09:33:23 +08:00
using OpenTK.Input;
using osu.Game.Modes.Taiko.Objects.Drawable.Pieces;
using osu.Framework.Allocation;
using osu.Game.Graphics;
2017-03-28 09:33:23 +08:00
namespace osu.Game.Modes.Taiko.Objects.Drawable
{
public class DrawableStrongCentreHit : DrawableStrongHit
{
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 DrawableStrongCentreHit(Hit hit)
: base(hit)
{
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
Circle.AccentColour = colours.PinkDarker;
2017-03-28 09:33:23 +08:00
}
protected override CirclePiece CreateCirclePiece() => new StrongCirclePiece
{
Children = new[] { new CentreHitSymbolPiece() }
};
2017-03-28 09:33:23 +08:00
}
}