2021-04-30 11:41:18 +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.
|
|
|
|
|
2021-04-30 11:42:32 +08:00
|
|
|
namespace osu.Game.Skinning
|
2021-04-30 11:41:18 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Denotes a container which can house <see cref="ISkinnableComponent"/>s.
|
|
|
|
/// </summary>
|
2021-05-11 10:56:14 +08:00
|
|
|
public interface ISkinnableTarget
|
2021-04-30 11:41:18 +08:00
|
|
|
{
|
2021-05-10 21:43:48 +08:00
|
|
|
public SkinnableTarget Target { get; }
|
2021-05-11 10:56:14 +08: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 16:48:08 +08:00
|
|
|
public void Add(ISkinnableComponent drawable);
|
2021-04-30 11:41:18 +08:00
|
|
|
}
|
|
|
|
}
|