示例#1
0
        //---------------------------------------------------------------
        #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();
        }
示例#2
0
 /// <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;
 }
示例#3
0
        //---------------------------------------------------------------
        #endregion
        //---------------------------------------------------------------

        //---------------------------------------------------------------
        #region Initialisation
        //---------------------------------------------------------------
        /// <summary>
        /// Creates a new instance of an <see cref="AnimatedGroup"/>.
        /// </summary>
        public AnimatedGroup()
        {
            Children = new GuiElements();
        }