Remove unnecessary local variables

This commit is contained in:
smoogipoo 2018-08-02 22:20:07 +09:00
parent a0887a600f
commit 0da6c8c1a7
1 changed files with 2 additions and 5 deletions

View File

@ -25,15 +25,12 @@ public class DrumRollTick : TaikoHitObject
/// </summary>
public double HitWindow => TickSpacing / 2;
public TaikoDrumRollTickJudgement Judgement { get; private set; }
public TaikoStrongHitJudgement StrongJudgement { get; private set; }
protected override IEnumerable<Judgement> CreateJudgements()
{
yield return Judgement = new TaikoDrumRollTickJudgement();
yield return new TaikoDrumRollTickJudgement();
if (IsStrong)
yield return StrongJudgement = new TaikoStrongHitJudgement();
yield return new TaikoStrongHitJudgement();
}
}
}