mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 03:22:57 +08:00
Add simple xmldoc to ctors explaining their deal with SkinSources
This commit is contained in:
parent
18edbdd135
commit
530026b675
@ -40,12 +40,19 @@ namespace osu.Game.Skinning
|
||||
|
||||
protected virtual bool AllowColourLookup => true;
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new <see cref="SkinProvidingContainer"/> with a single skin added to the protected <see cref="SkinSources"/> list.
|
||||
/// </summary>
|
||||
public SkinProvidingContainer(ISkin skin)
|
||||
: this()
|
||||
{
|
||||
SkinSources.Add(skin);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new <see cref="SkinProvidingContainer"/> with no sources.
|
||||
/// Up to the implementation for adding to the <see cref="SkinSources"/> list.
|
||||
/// </summary>
|
||||
protected SkinProvidingContainer()
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both;
|
||||
|
Loading…
Reference in New Issue
Block a user