added check for minimal functionality.

This commit is contained in:
Harrison Deng 2019-01-26 22:56:53 -06:00
parent cf9c27456d
commit d1d9b1ad55

View File

@ -33,7 +33,12 @@ namespace RecrownedAthenaeum.UI.Skin
/// <summary> /// <summary>
/// Whether or not the skin manager is set up with a <see cref="BaseSkin"/> and <see cref="loadedSkin"/>. /// Whether or not the skin manager is set up with a <see cref="BaseSkin"/> and <see cref="loadedSkin"/>.
/// </summary> /// </summary>
public bool ReadyForUse { get { return (loadedSkin != null && BaseSkin != null); } } public bool MergingSkins { get { return (loadedSkin != null && SkinUseable); } }
/// <summary>
/// Whether or not this manager has been set up with at least a base skin.
/// </summary>
public bool SkinUseable { get { return BaseSkin == null; } }
/// <summary> /// <summary>
/// The list of paths for all found skins by <see cref="SearchSkinDirectory"/>. May be null. /// The list of paths for all found skins by <see cref="SearchSkinDirectory"/>. May be null.