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