Make readonly.

This commit is contained in:
smoogipooo 2017-03-23 19:43:49 +09:00
parent 315deb6f12
commit 60dcf2d14d
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
{
public class DrawableDrumRoll : DrawableTaikoHitObject
{
private DrumRoll drumRoll;
private readonly DrumRoll drumRoll;
public DrawableDrumRoll(DrumRoll drumRoll)
: base(drumRoll)

View File

@ -16,9 +16,9 @@ public class DrawableDrumRollTick : DrawableTaikoHitObject
/// A list of keys which this HitObject will accept. These are the standard Taiko keys for now.
/// These should be moved to bindings later.
/// </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)
: base(tick)