//Copyright (c) 2007-2016 ppy Pty Ltd . //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Modes.Objects; using osu.Game.Modes.Objects.Drawables; using osu.Game.Modes.Osu.Objects; using osu.Game.Modes.UI; using DrawableCircle = osu.Game.Modes.Osu.Objects.Drawables.DrawableCircle; using OsuBaseHit = osu.Game.Modes.Osu.Objects.OsuBaseHit; using OsuConverter = osu.Game.Modes.Osu.Objects.OsuConverter; namespace osu.Game.Modes.Osu.UI { public class OsuHitRenderer : HitRenderer { protected override HitObjectConverter Converter => new OsuConverter(); protected override Playfield CreatePlayfield() => new OsuPlayfield(); protected override DrawableHitObject GetVisualRepresentation(OsuBaseHit h) => h is HitCircle ? new DrawableCircle(h as HitCircle) : null; } }