2016-09-02 19:30:27 +08:00
|
|
|
|
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Game.Beatmaps.Objects;
|
|
|
|
|
using osu.Game.Beatmaps.Objects.Catch;
|
2016-10-13 09:10:15 +08:00
|
|
|
|
using osu.Game.Beatmaps.Objects.Catch.Drawable;
|
2016-09-02 19:30:27 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.GameModes.Play.Catch
|
|
|
|
|
{
|
2016-10-13 09:10:15 +08:00
|
|
|
|
public class CatchHitRenderer : HitRenderer<CatchBaseHit>
|
2016-09-02 19:30:27 +08:00
|
|
|
|
{
|
2016-10-14 17:48:07 +08:00
|
|
|
|
protected override HitObjectConverter<CatchBaseHit> Converter => new CatchConverter();
|
2016-09-02 19:30:27 +08:00
|
|
|
|
|
2016-10-13 21:14:18 +08:00
|
|
|
|
protected override Playfield CreatePlayfield() => new CatchPlayfield();
|
2016-09-02 19:30:27 +08:00
|
|
|
|
|
2016-10-13 09:10:15 +08:00
|
|
|
|
protected override Drawable GetVisualRepresentation(CatchBaseHit h) => new DrawableFruit(h);
|
2016-09-02 19:30:27 +08:00
|
|
|
|
}
|
|
|
|
|
}
|