1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-24 14:47:24 +08:00
osu-lazer/osu.Game.Modes.Mania/Beatmaps/ManiaBeatmapConverter.cs

24 lines
783 B
C#
Raw Normal View History

2017-03-11 23:34:21 +08:00
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Beatmaps;
using osu.Game.Modes.Mania.Objects;
using System.Collections.Generic;
2017-04-17 14:44:46 +08:00
using System;
using osu.Game.Modes.Objects.Types;
using osu.Game.Modes.Beatmaps;
2017-04-18 13:24:16 +08:00
using osu.Game.Modes.Objects;
2017-03-11 23:34:21 +08:00
namespace osu.Game.Modes.Mania.Beatmaps
{
internal class ManiaBeatmapConverter : BeatmapConverter<ManiaBaseHit>
2017-03-11 23:34:21 +08:00
{
2017-04-18 13:24:16 +08:00
protected override IEnumerable<Type> ValidConversionTypes { get; } = new[] { typeof(IHasXPosition) };
2017-04-17 14:44:46 +08:00
2017-04-18 13:24:16 +08:00
protected override IEnumerable<ManiaBaseHit> ConvertHitObject(HitObject original, Beatmap beatmap)
2017-03-11 23:34:21 +08:00
{
2017-04-18 13:24:16 +08:00
yield return null;
2017-03-11 23:34:21 +08:00
}
}
}