1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 22:22:55 +08:00

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 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
/// 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)