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;
|
2017-04-17 16:25:29 +08:00
|
|
|
|
using osu.Game.Modes.Objects.Types;
|
2017-04-18 08:32:22 +08:00
|
|
|
|
using osu.Game.Modes.Beatmaps;
|
2017-03-11 23:34:21 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Modes.Mania.Beatmaps
|
|
|
|
|
{
|
2017-04-18 08:38:52 +08:00
|
|
|
|
internal class ManiaBeatmapConverter : BeatmapConverter<ManiaBaseHit>
|
2017-03-11 23:34:21 +08:00
|
|
|
|
{
|
2017-04-18 10:13:11 +08:00
|
|
|
|
public override IEnumerable<Type> ValidConversionTypes { get; } = new[] { typeof(IHasXPosition) };
|
2017-04-17 14:44:46 +08:00
|
|
|
|
|
2017-04-18 08:38:52 +08:00
|
|
|
|
public override Beatmap<ManiaBaseHit> Convert(Beatmap original)
|
2017-03-11 23:34:21 +08:00
|
|
|
|
{
|
|
|
|
|
return new Beatmap<ManiaBaseHit>(original)
|
|
|
|
|
{
|
|
|
|
|
HitObjects = new List<ManiaBaseHit>() // Todo: Implement
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|