documentation.

This commit is contained in:
2019-01-14 00:34:35 -06:00
parent 32c2f25196
commit 40c7772559
15 changed files with 315 additions and 56 deletions

View File

@@ -6,12 +6,34 @@ using System;
namespace RecrownedAthenaeum.UI.Modular
{
/// <summary>
/// Module for UI layout.
/// </summary>
public class UIModule : IInputListener
{
/// <summary>
/// Bounds of this module.
/// </summary>
public Rectangle bounds;
/// <summary>
/// Origin of this module.
/// </summary>
public Vector2 origin;
/// <summary>
/// The parent of this module. May be null.
/// </summary>
public UIModuleGroup Parent;
/// <summary>
/// Name of this module. For organizational/referencial purposes mostly.
/// </summary>
public string Name;
/// <summary>
/// The color tint of this module.
/// </summary>
public Color color = Color.White;
/// <summary>