//--------------------------------------------------------------- #endregion //--------------------------------------------------------------- //--------------------------------------------------------------- #region Initialisation //--------------------------------------------------------------- /// <summary> /// Creates a new instance of a <see cref="GuiGroup"/>. /// </summary> /// <remarks><note type="note">Don't forget to set size!</note> /// </remarks> public GuiGroup() { Children = new GuiElements(); }
/// <summary> /// Creates a new instance of a <see cref="GuiGroup"/>. /// </summary> /// <param name="size">Size of <see cref="GuiGroup"/>.</param> public GuiGroup(Vector2 size) { Children = new GuiElements(); this.size = size; }
//--------------------------------------------------------------- #endregion //--------------------------------------------------------------- //--------------------------------------------------------------- #region Initialisation //--------------------------------------------------------------- /// <summary> /// Creates a new instance of an <see cref="AnimatedGroup"/>. /// </summary> public AnimatedGroup() { Children = new GuiElements(); }