mirror of
https://github.com/osukey/osukey.git
synced 2025-05-06 06:07:26 +09:00
21 lines
779 B
C#
21 lines
779 B
C#
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using System.Collections.Generic;
|
|
using osu.Framework.Graphics;
|
|
using osu.Game.Beatmaps.Objects;
|
|
using osu.Game.Beatmaps.Objects.Catch;
|
|
using osu.Game.Beatmaps.Objects.Catch.Drawable;
|
|
|
|
namespace osu.Game.GameModes.Play.Catch
|
|
{
|
|
public class CatchHitRenderer : HitRenderer<CatchBaseHit>
|
|
{
|
|
protected override Playfield CreatePlayfield() => new CatchPlayfield();
|
|
|
|
protected override List<CatchBaseHit> Convert(List<HitObject> objects) => new CatchConverter().Convert(objects);
|
|
|
|
protected override Drawable GetVisualRepresentation(CatchBaseHit h) => new DrawableFruit(h);
|
|
}
|
|
}
|