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