1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 21:03:08 +08:00

I don't like this renaming.

This commit is contained in:
smoogipooo 2017-03-14 12:54:09 +09:00
parent f50e0bbf3c
commit 99c23d8715
7 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ namespace osu.Game.Modes.Catch.Beatmaps
{ {
internal class CatchBeatmapConverter : IBeatmapConverter<CatchBaseHit> internal class CatchBeatmapConverter : IBeatmapConverter<CatchBaseHit>
{ {
public Beatmap<CatchBaseHit> ConvertBeatmap(Beatmap original) public Beatmap<CatchBaseHit> Convert(Beatmap original)
{ {
return new Beatmap<CatchBaseHit>(original) return new Beatmap<CatchBaseHit>(original)
{ {

View File

@ -10,7 +10,7 @@ namespace osu.Game.Modes.Mania.Beatmaps
{ {
internal class ManiaBeatmapConverter : IBeatmapConverter<ManiaBaseHit> internal class ManiaBeatmapConverter : IBeatmapConverter<ManiaBaseHit>
{ {
public Beatmap<ManiaBaseHit> ConvertBeatmap(Beatmap original) public Beatmap<ManiaBaseHit> Convert(Beatmap original)
{ {
return new Beatmap<ManiaBaseHit>(original) return new Beatmap<ManiaBaseHit>(original)
{ {

View File

@ -15,7 +15,7 @@ namespace osu.Game.Modes.Osu.Beatmaps
{ {
internal class OsuBeatmapConverter : IBeatmapConverter<OsuHitObject> internal class OsuBeatmapConverter : IBeatmapConverter<OsuHitObject>
{ {
public Beatmap<OsuHitObject> ConvertBeatmap(Beatmap original) public Beatmap<OsuHitObject> Convert(Beatmap original)
{ {
return new Beatmap<OsuHitObject>(original) return new Beatmap<OsuHitObject>(original)
{ {

View File

@ -9,7 +9,7 @@ namespace osu.Game.Modes.Taiko.Beatmaps
{ {
internal class TaikoBeatmapConverter : IBeatmapConverter<TaikoBaseHit> internal class TaikoBeatmapConverter : IBeatmapConverter<TaikoBaseHit>
{ {
public Beatmap<TaikoBaseHit> ConvertBeatmap(Beatmap original) public Beatmap<TaikoBaseHit> Convert(Beatmap original)
{ {
return new Beatmap<TaikoBaseHit>(original) return new Beatmap<TaikoBaseHit>(original)
{ {

View File

@ -33,7 +33,7 @@ namespace osu.Game.Beatmaps
protected DifficultyCalculator(Beatmap beatmap) protected DifficultyCalculator(Beatmap beatmap)
{ {
Objects = CreateBeatmapConverter().ConvertBeatmap(beatmap).HitObjects; Objects = CreateBeatmapConverter().Convert(beatmap).HitObjects;
PreprocessHitObjects(); PreprocessHitObjects();
} }

View File

@ -16,6 +16,6 @@ namespace osu.Game.Beatmaps
/// </summary> /// </summary>
/// <param name="original">The original Beatmap.</param> /// <param name="original">The original Beatmap.</param>
/// <returns>The converted Beatmap.</returns> /// <returns>The converted Beatmap.</returns>
Beatmap<T> ConvertBeatmap(Beatmap original); Beatmap<T> Convert(Beatmap original);
} }
} }

View File

@ -57,7 +57,7 @@ namespace osu.Game.Modes.UI
protected HitRenderer(Beatmap beatmap) protected HitRenderer(Beatmap beatmap)
{ {
Beatmap = CreateBeatmapConverter().ConvertBeatmap(beatmap); Beatmap = CreateBeatmapConverter().Convert(beatmap);
RelativeSizeAxes = Axes.Both; RelativeSizeAxes = Axes.Both;