mirror of https://github.com/ppy/osu
Add readonly attributes.
This commit is contained in:
parent
d441114011
commit
9a3fd8bcf1
|
@ -19,8 +19,8 @@ namespace osu.Game.Modes.Taiko.UI
|
|||
/// </summary>
|
||||
internal class HitExplosion : CircularContainer
|
||||
{
|
||||
private TaikoJudgementInfo judgement;
|
||||
private Box innerFill;
|
||||
private readonly TaikoJudgementInfo judgement;
|
||||
private readonly Box innerFill;
|
||||
|
||||
public HitExplosion(TaikoJudgementInfo judgement)
|
||||
{
|
||||
|
|
|
@ -62,10 +62,10 @@ private class TaikoHalfDrum : Container
|
|||
/// </summary>
|
||||
public Key CentreKey;
|
||||
|
||||
private Sprite rim;
|
||||
private Sprite rimHit;
|
||||
private Sprite centre;
|
||||
private Sprite centreHit;
|
||||
private readonly Sprite rim;
|
||||
private readonly Sprite rimHit;
|
||||
private readonly Sprite centre;
|
||||
private readonly Sprite centreHit;
|
||||
|
||||
public TaikoHalfDrum(bool flipped)
|
||||
{
|
||||
|
|
|
@ -46,16 +46,16 @@ public class TaikoPlayfield : Playfield<TaikoHitObject, TaikoJudgementInfo>
|
|||
|
||||
protected override Container<Drawable> Content => hitObjectContainer;
|
||||
|
||||
private Container<HitExplosion> hitExplosionContainer;
|
||||
private readonly Container<HitExplosion> hitExplosionContainer;
|
||||
//private Container<DrawableBarLine> barLineContainer;
|
||||
private Container<JudgementText> judgementContainer;
|
||||
private readonly Container<JudgementText> judgementContainer;
|
||||
|
||||
private Container hitObjectContainer;
|
||||
private readonly Container hitObjectContainer;
|
||||
//private Container topLevelHitContainer;
|
||||
private Container leftBackgroundContainer;
|
||||
private Container rightBackgroundContainer;
|
||||
private Box leftBackground;
|
||||
private Box rightBackground;
|
||||
private readonly Container leftBackgroundContainer;
|
||||
private readonly Container rightBackgroundContainer;
|
||||
private readonly Box leftBackground;
|
||||
private readonly Box rightBackground;
|
||||
|
||||
public TaikoPlayfield()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue