mirror of https://github.com/ppy/osu
Rename `MetronomeBeatContainer` to `Metronome`
This commit is contained in:
parent
0196141335
commit
935984d200
|
@ -332,7 +332,7 @@ private void randomizeCirclePos(IReadOnlyList<OsuHitObject> hitObjects)
|
|||
|
||||
public void ApplyToDrawableRuleset(DrawableRuleset<OsuHitObject> drawableRuleset)
|
||||
{
|
||||
drawableRuleset.Overlays.Add(new MetronomeBeatContainer(drawableRuleset.Beatmap.HitObjects.First().StartTime));
|
||||
drawableRuleset.Overlays.Add(new Metronome(drawableRuleset.Beatmap.HitObjects.First().StartTime));
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
|
||||
namespace osu.Game.Rulesets.Mods
|
||||
{
|
||||
public class MetronomeBeatContainer : BeatSyncedContainer
|
||||
public class Metronome : BeatSyncedContainer
|
||||
{
|
||||
private readonly double firstHitTime;
|
||||
|
||||
private PausableSkinnableSound sample;
|
||||
|
||||
/// <param name="firstHitTime">Start time of the first hit object, used for providing a count down.</param>
|
||||
public MetronomeBeatContainer(double firstHitTime)
|
||||
public Metronome(double firstHitTime)
|
||||
{
|
||||
this.firstHitTime = firstHitTime;
|
||||
AllowMistimedEventFiring = false;
|
Loading…
Reference in New Issue