osu/osu.Game/Skinning/ISkinnableTarget.cs

24 lines
677 B
C#
Raw Normal View History

// 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.
namespace osu.Game.Skinning
{
/// <summary>
/// Denotes a container which can house <see cref="ISkinnableComponent"/>s.
/// </summary>
public interface ISkinnableTarget
{
2021-05-10 13:43:48 +00:00
public SkinnableTarget Target { get; }
/// <summary>
/// Reload this target from the current skin.
/// </summary>
public void Reload();
/// <summary>
/// Add the provided item to this target.
/// </summary>
public void Add(ISkinnableComponent drawable);
}
}