2017-02-10 07:10:24 +00: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 07:05:58 +00:00
|
|
|
|
using osu.Game.Rulesets.Objects;
|
2017-02-10 07:10:24 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2017-04-18 07:05:58 +00:00
|
|
|
|
namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
|
2017-02-10 07:10:24 +00:00
|
|
|
|
{
|
2017-02-12 07:31:43 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Connects hit objects visually, for example with follow points.
|
|
|
|
|
/// </summary>
|
2017-02-12 06:29:36 +00:00
|
|
|
|
public abstract class ConnectionRenderer<T> : Container
|
|
|
|
|
where T : HitObject
|
2017-02-10 07:10:24 +00:00
|
|
|
|
{
|
2017-02-10 09:24:31 +00:00
|
|
|
|
/// <summary>
|
2017-02-12 07:31:43 +00:00
|
|
|
|
/// Hit objects to create connections for
|
2017-02-10 09:24:31 +00:00
|
|
|
|
/// </summary>
|
2017-02-12 07:31:43 +00:00
|
|
|
|
public abstract IEnumerable<T> HitObjects { get; set; }
|
2017-02-10 07:10:24 +00:00
|
|
|
|
}
|
|
|
|
|
}
|