mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Don't use a List for HitKeys.
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System.Collections.Generic;
|
||||
using OpenTK.Input;
|
||||
using osu.Game.Modes.Taiko.Objects.Drawable.Pieces;
|
||||
using osu.Framework.Allocation;
|
||||
@ -11,7 +10,7 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
||||
{
|
||||
public class DrawableStrongCentreHit : DrawableStrongHit
|
||||
{
|
||||
protected override List<Key> HitKeys { get; } = new List<Key>(new[] { Key.F, Key.J });
|
||||
protected override Key[] HitKeys { get; } = { Key.F, Key.J };
|
||||
|
||||
private readonly CirclePiece circlePiece;
|
||||
|
||||
|
Reference in New Issue
Block a user