mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Make converter per-instance.
This commit is contained in:
parent
aad5c6a44d
commit
ac66c08991
@ -10,9 +10,7 @@ namespace osu.Game.GameModes.Play.Catch
|
||||
{
|
||||
public class CatchHitRenderer : HitRenderer<CatchBaseHit>
|
||||
{
|
||||
private static readonly CatchConverter converter = new CatchConverter();
|
||||
|
||||
protected override HitObjectConverter<CatchBaseHit> Converter => converter;
|
||||
protected override HitObjectConverter<CatchBaseHit> Converter { get; } = new CatchConverter();
|
||||
|
||||
protected override Playfield CreatePlayfield() => new CatchPlayfield();
|
||||
|
||||
|
@ -10,9 +10,7 @@ namespace osu.Game.GameModes.Play.Osu
|
||||
{
|
||||
public class OsuHitRenderer : HitRenderer<OsuBaseHit>
|
||||
{
|
||||
private static readonly OsuConverter converter = new OsuConverter();
|
||||
|
||||
protected override HitObjectConverter<OsuBaseHit> Converter => converter;
|
||||
protected override HitObjectConverter<OsuBaseHit> Converter { get; } = new OsuConverter();
|
||||
|
||||
protected override Playfield CreatePlayfield() => new OsuPlayfield();
|
||||
|
||||
|
@ -10,9 +10,7 @@ namespace osu.Game.GameModes.Play.Taiko
|
||||
{
|
||||
public class TaikoHitRenderer : HitRenderer<TaikoBaseHit>
|
||||
{
|
||||
private static readonly TaikoConverter converter = new TaikoConverter();
|
||||
|
||||
protected override HitObjectConverter<TaikoBaseHit> Converter => converter;
|
||||
protected override HitObjectConverter<TaikoBaseHit> Converter { get; } = new TaikoConverter();
|
||||
|
||||
protected override Playfield CreatePlayfield() => new TaikoPlayfield();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user