2017-02-10 15:10:24 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using osu.Framework.Graphics.Containers;
|
2017-04-18 15:05:58 +08:00
|
|
|
|
using osu.Game.Rulesets.Objects;
|
2017-02-10 15:10:24 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2017-04-18 15:05:58 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
|
2017-02-10 15:10:24 +08:00
|
|
|
|
{
|
2017-02-12 15:31:43 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Connects hit objects visually, for example with follow points.
|
|
|
|
|
/// </summary>
|
2017-02-12 14:29:36 +08:00
|
|
|
|
public abstract class ConnectionRenderer<T> : Container
|
|
|
|
|
where T : HitObject
|
2017-02-10 15:10:24 +08:00
|
|
|
|
{
|
2017-02-10 17:24:31 +08:00
|
|
|
|
/// <summary>
|
2017-02-12 15:31:43 +08:00
|
|
|
|
/// Hit objects to create connections for
|
2017-02-10 17:24:31 +08:00
|
|
|
|
/// </summary>
|
2017-02-12 15:31:43 +08:00
|
|
|
|
public abstract IEnumerable<T> HitObjects { get; set; }
|
2017-02-10 15:10:24 +08:00
|
|
|
|
}
|
|
|
|
|
}
|