2019-08-29 11:43:43 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
using System;
|
2019-08-29 15:26:39 +08:00
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
using osu.Game.Rulesets.Edit;
|
2019-08-29 11:43:43 +08:00
|
|
|
using osu.Game.Rulesets.Objects;
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.Edit
|
|
|
|
{
|
2019-08-29 15:26:39 +08:00
|
|
|
/// <summary>
|
|
|
|
/// Interface for the <see cref="IBeatmap"/> contained by the see <see cref="HitObjectComposer"/>.
|
|
|
|
/// Children of <see cref="HitObjectComposer"/> may resolve the beatmap via <see cref="IEditorBeatmap"/> or <see cref="IEditorBeatmap{T}"/>.
|
|
|
|
/// </summary>
|
|
|
|
public interface IEditorBeatmap : IBeatmap
|
2019-08-29 11:43:43 +08:00
|
|
|
{
|
2019-08-29 15:26:39 +08:00
|
|
|
/// <summary>
|
|
|
|
/// Invoked when a <see cref="HitObject"/> is added to this <see cref="IEditorBeatmap"/>.
|
|
|
|
/// </summary>
|
2019-08-29 11:43:43 +08:00
|
|
|
event Action<HitObject> HitObjectAdded;
|
2019-08-29 15:26:39 +08:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Invoked when a <see cref="HitObject"/> is removed from this <see cref="IEditorBeatmap"/>.
|
|
|
|
/// </summary>
|
2019-08-29 11:43:43 +08:00
|
|
|
event Action<HitObject> HitObjectRemoved;
|
2019-12-05 19:12:25 +08:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Invoked when the start time of a <see cref="HitObject"/> in this <see cref="EditorBeatmap{T}"/> was changed.
|
|
|
|
/// </summary>
|
|
|
|
event Action<HitObject> StartTimeChanged;
|
2019-08-29 15:26:39 +08:00
|
|
|
}
|
2019-08-29 11:43:43 +08:00
|
|
|
|
2019-08-29 15:26:39 +08:00
|
|
|
/// <summary>
|
|
|
|
/// Interface for the <see cref="IBeatmap"/> contained by the see <see cref="HitObjectComposer"/>.
|
|
|
|
/// Children of <see cref="HitObjectComposer"/> may resolve the beatmap via <see cref="IEditorBeatmap"/> or <see cref="IEditorBeatmap{T}"/>.
|
|
|
|
/// </summary>
|
|
|
|
public interface IEditorBeatmap<out T> : IEditorBeatmap, IBeatmap<T>
|
|
|
|
where T : HitObject
|
|
|
|
{
|
2019-08-29 11:43:43 +08:00
|
|
|
}
|
|
|
|
}
|