From 2cea5f0fa39531993a43b5737ae553601a9b2cf8 Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Fri, 19 May 2017 16:39:02 +0900 Subject: [PATCH] Add comments. --- .../Beatmaps/ManiaBeatmapConverter.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Mania/Beatmaps/ManiaBeatmapConverter.cs b/osu.Game.Rulesets.Mania/Beatmaps/ManiaBeatmapConverter.cs index ed040bdc30..7d68723b08 100644 --- a/osu.Game.Rulesets.Mania/Beatmaps/ManiaBeatmapConverter.cs +++ b/osu.Game.Rulesets.Mania/Beatmaps/ManiaBeatmapConverter.cs @@ -57,6 +57,12 @@ namespace osu.Game.Rulesets.Mania.Beatmaps yield return obj; } + /// + /// Method that generates hit objects for osu!mania specific beatmaps. + /// + /// The original hit object. + /// The beatmap. + /// The hit objects generated. private IEnumerable generateSpecific(HitObject original, Beatmap beatmap) { var generator = new SpecificBeatmapPatternGenerator(random, original, beatmap, lastPattern); @@ -67,6 +73,12 @@ namespace osu.Game.Rulesets.Mania.Beatmaps return newPattern.HitObjects; } + /// + /// Method that generates hit objects for non-osu!mania beatmaps. + /// + /// The original hit object. + /// The beatmap. + /// The hit objects generated. private IEnumerable generateConverted(HitObject original, Beatmap beatmap) { var endTimeData = original as IHasEndTime; @@ -100,7 +112,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps } /// - /// A pattern generator for mania-specific beatmaps. + /// A pattern generator for osu!mania-specific beatmaps. /// private class SpecificBeatmapPatternGenerator : Patterns.Legacy.PatternGenerator {