Add some more xmldoc

This commit is contained in:
Dean Herbert
2019-06-24 15:25:01 +09:00
parent aca9289d89
commit 9593e66a96
2 changed files with 14 additions and 4 deletions

View File

@ -8,9 +8,12 @@ using osu.Framework.Graphics.Textures;
namespace osu.Game.Skinning
{
/// <summary>
/// A skinnable element which uses a stable sprite and can therefore share implementation logic.
/// </summary>
public class SkinnableSprite : SkinnableDrawable<Sprite>
{
protected override bool ApplySizeToDefault => true;
protected override bool ApplySizeRestrictionsToDefault => true;
protected override Sprite CreateDefault(string name) => new Sprite { Texture = textures.Get(name) };