documentation.
This commit is contained in:
@@ -7,13 +7,29 @@ using System.Collections.Generic;
|
||||
|
||||
namespace RecrownedAthenaeum.UI.Skin
|
||||
{
|
||||
/// <summary>
|
||||
/// A skin is used to group a theme which can then be applied to the UI via the use of modules.
|
||||
/// </summary>
|
||||
public class Skin
|
||||
{
|
||||
/// <summary>
|
||||
/// Texture atlas containing the skins textures.
|
||||
/// </summary>
|
||||
public readonly TextureAtlas textureAtlas;
|
||||
/// <summary>
|
||||
/// Colors stored in this skin.
|
||||
/// </summary>
|
||||
public readonly Dictionary<string, Color> colors;
|
||||
/// <summary>
|
||||
/// Fonts stored in this skin.
|
||||
/// </summary>
|
||||
public readonly Dictionary<string, SpriteFont> fonts;
|
||||
Dictionary<Type, Dictionary<string, ISkinDefinition>> definitions;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="textureAtlas"></param>
|
||||
public Skin(TextureAtlas textureAtlas)
|
||||
{
|
||||
this.textureAtlas = textureAtlas;
|
||||
|
||||
Reference in New Issue
Block a user