Rename timing changes, simplify + improve columns/dictionary usage.

This commit is contained in:
smoogipooo
2017-06-07 19:09:51 +09:00
parent 7aee8ee547
commit 6f191193a1
8 changed files with 61 additions and 40 deletions

View File

@ -148,6 +148,8 @@ namespace osu.Game.Rulesets.UI
// Post-process the beatmap
processor.PostProcess(Beatmap);
ApplyBeatmap();
// Add mods, should always be the last thing applied to give full control to mods
applyMods(beatmap.Mods.Value);
}
@ -165,6 +167,11 @@ namespace osu.Game.Rulesets.UI
mod.ApplyToHitRenderer(this);
}
/// <summary>
/// Called when the beatmap of this hit renderer has been set. Used to apply any default values from the beatmap.
/// </summary>
protected virtual void ApplyBeatmap() { }
/// <summary>
/// Creates a processor to perform post-processing operations
/// on HitObjects in converted Beatmaps.