mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Fix regressions with HitRenderers, while also cleaning them up.
This commit is contained in:
21
osu.Game/Beatmaps/Objects/Osu/OsuConverter.cs
Normal file
21
osu.Game/Beatmaps/Objects/Osu/OsuConverter.cs
Normal file
@ -0,0 +1,21 @@
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace osu.Game.Beatmaps.Objects.Osu
|
||||
{
|
||||
class OsuConverter : HitObjectConverter<OsuBaseHit>
|
||||
{
|
||||
public override List<OsuBaseHit> Convert(List<HitObject> input)
|
||||
{
|
||||
List<OsuBaseHit> output = new List<OsuBaseHit>();
|
||||
|
||||
foreach (HitObject h in input)
|
||||
output.Add(h as OsuBaseHit);
|
||||
|
||||
return output;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user