mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 03:55:30 +08:00
Make readonly.
This commit is contained in:
parent
315deb6f12
commit
60dcf2d14d
@ -9,7 +9,7 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
|||||||
{
|
{
|
||||||
public class DrawableDrumRoll : DrawableTaikoHitObject
|
public class DrawableDrumRoll : DrawableTaikoHitObject
|
||||||
{
|
{
|
||||||
private DrumRoll drumRoll;
|
private readonly DrumRoll drumRoll;
|
||||||
|
|
||||||
public DrawableDrumRoll(DrumRoll drumRoll)
|
public DrawableDrumRoll(DrumRoll drumRoll)
|
||||||
: base(drumRoll)
|
: base(drumRoll)
|
||||||
|
@ -16,9 +16,9 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
|||||||
/// A list of keys which this HitObject will accept. These are the standard Taiko keys for now.
|
/// A list of keys which this HitObject will accept. These are the standard Taiko keys for now.
|
||||||
/// These should be moved to bindings later.
|
/// These should be moved to bindings later.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private List<Key> validKeys = new List<Key>(new[] { Key.D, Key.F, Key.J, Key.K });
|
private readonly List<Key> validKeys = new List<Key>(new[] { Key.D, Key.F, Key.J, Key.K });
|
||||||
|
|
||||||
private DrumRollTick tick;
|
private readonly DrumRollTick tick;
|
||||||
|
|
||||||
public DrawableDrumRollTick(DrumRollTick tick)
|
public DrawableDrumRollTick(DrumRollTick tick)
|
||||||
: base(tick)
|
: base(tick)
|
||||||
|
Loading…
Reference in New Issue
Block a user