mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Added ArgumentOutOfRangeException throws
This commit is contained in:
parent
2800eeac56
commit
2b58862567
@ -1,6 +1,7 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using osu.Framework.Allocation;
|
||||
@ -186,7 +187,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
}
|
||||
break;
|
||||
}
|
||||
return TaikoAction.LeftCentre;
|
||||
throw new ArgumentOutOfRangeException();
|
||||
}
|
||||
|
||||
private TaikoAction getTaikoActionFromPosition(Vector2 inputPosition)
|
||||
@ -224,7 +225,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
case TaikoAction.RightCentre:
|
||||
return colours.Red;
|
||||
}
|
||||
return colours.Red;
|
||||
throw new ArgumentOutOfRangeException();
|
||||
}
|
||||
private partial class QuarterCircle : CompositeDrawable, IKeyBindingHandler<TaikoAction>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user